(1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "darcy@hirthe.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Noble Conn"], ["last_name", "Jimmie Walker"], ["email", "darcy@hirthe.biz"], ["password_digest", "$2a$04$YabcjTLOvcQaFEr92sE5s.mxeq1BWdTdE3yk6icddgjKYtksB.0pO"], ["created_at", "2018-09-05 13:42:48.788477"], ["updated_at", "2018-09-05 13:42:48.788477"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ferdinand Mueller"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Julio Kuhic"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ferdinand Mueller"], ["name", "Julio Kuhic"], ["created_at", "2018-09-05 13:42:48.833183"], ["updated_at", "2018-09-05 13:42:48.833183"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lakenya Schuppe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lakenya Schuppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.860660"], ["updated_at", "2018-09-05 13:42:48.860660"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Julianna Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julianna Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.867874"], ["updated_at", "2018-09-05 13:42:48.867874"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rick Crona"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rick Crona"], ["name", "Caren Abernathy"], ["address", "Madge Kassulke"], ["created_at", "2018-09-05 13:42:48.885644"], ["updated_at", "2018-09-05 13:42:48.885644"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Junita Shields"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Junita Shields"], ["name", "Randee Emmerich"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 13:42:48.893795"], ["updated_at", "2018-09-05 13:42:48.893795"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Junita Shields"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Junita Shields"], ["name", "Randee Emmerich"], ["description", "Default bundle for service 'Randee Emmerich'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 13:42:48.923095"], ["updated_at", "2018-09-05 13:42:48.923095"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ronny Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brandon Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ronny Goyette"], ["name", "Brandon Eichmann"], ["created_at", "2018-09-05 13:42:48.954139"], ["updated_at", "2018-09-05 13:42:48.954139"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Saran Goyette"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Saran Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.958759"], ["updated_at", "2018-09-05 13:42:48.958759"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Bertha Schmitt"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bertha Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.963640"], ["updated_at", "2018-09-05 13:42:48.963640"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Natasha Dicki"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Natasha Dicki"], ["name", "Magaret Daniel"], ["address", "Cordie Balistreri"], ["created_at", "2018-09-05 13:42:48.968252"], ["updated_at", "2018-09-05 13:42:48.968252"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Argentina Price"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Argentina Price"], ["name", "Leoma Adams"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 13:42:48.972998"], ["updated_at", "2018-09-05 13:42:48.972998"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Argentina Price"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Argentina Price"], ["name", "Leoma Adams"], ["description", "Default bundle for service 'Leoma Adams'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 13:42:48.978565"], ["updated_at", "2018-09-05 13:42:48.978565"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 2]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shanika Feest"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mitch Ruecker"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shanika Feest"], ["name", "Mitch Ruecker"], ["created_at", "2018-09-05 13:42:48.987841"], ["updated_at", "2018-09-05 13:42:48.987841"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Amie Stanton"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amie Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.993934"], ["updated_at", "2018-09-05 13:42:48.993934"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sau Emard"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sau Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.000714"], ["updated_at", "2018-09-05 13:42:49.000714"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Elidia O'Connell"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elidia O'Connell"], ["name", "Bibi Krajcik"], ["address", "Emelina Dicki"], ["created_at", "2018-09-05 13:42:49.006294"], ["updated_at", "2018-09-05 13:42:49.006294"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Delphine Doyle"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.5ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Delphine Doyle"], ["name", "Hyacinth Wisozk"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 13:42:49.011740"], ["updated_at", "2018-09-05 13:42:49.011740"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Delphine Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Delphine Doyle"], ["name", "Hyacinth Wisozk"], ["description", "Default bundle for service 'Hyacinth Wisozk'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 13:42:49.017774"], ["updated_at", "2018-09-05 13:42:49.017774"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 3]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC Mks::Rate::ServiceDeliveryUnit Load (1.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 3], ["id", 2], ["id", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.2ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.0ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (22.85ms) Completed 200 OK in 54ms (Views: 38.4ms | ActiveRecord: 12.9ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vicenta@lednerhuel.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jolanda O'Kon"], ["last_name", "Aubrey Mitchell"], ["email", "vicenta@lednerhuel.ca"], ["password_digest", "$2a$04$rGq87kh38DF6OP3GWftZ..8cOdlXxfyjSZfa1cbAD.pO1SMyNKIqK"], ["created_at", "2018-09-05 13:42:49.092952"], ["updated_at", "2018-09-05 13:42:49.092952"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hedy Cassin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hedy Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.112352"], ["updated_at", "2018-09-05 13:42:49.112352"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hal Fisher"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hal Fisher"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.118933"], ["updated_at", "2018-09-05 13:42:49.118933"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marguerite Runte"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marguerite Runte"], ["name", "Tifany Kerluke"], ["address", "Chloe Ernser"], ["created_at", "2018-09-05 13:42:49.123942"], ["updated_at", "2018-09-05 13:42:49.123942"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Adrianne Kling"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Camie Kris"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Adrianne Kling"], ["name", "Camie Kris"], ["created_at", "2018-09-05 13:42:49.130090"], ["updated_at", "2018-09-05 13:42:49.130090"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Brant Bergstrom", "name"=>"Bethany Reichert", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Brant Bergstrom"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Brant Bergstrom"], ["name", "Bethany Reichert"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 13:42:49.151349"], ["updated_at", "2018-09-05 13:42:49.151349"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brant Bergstrom"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Brant Bergstrom"], ["name", "Bethany Reichert"], ["description", "Default bundle for service 'Bethany Reichert'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 13:42:49.156902"], ["updated_at", "2018-09-05 13:42:49.156902"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 4]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.63ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 36ms (Views: 10.3ms | ActiveRecord: 12.0ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "derick@stracke.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kisha O'Keefe"], ["last_name", "Garnet Hodkiewicz"], ["email", "derick@stracke.info"], ["password_digest", "$2a$04$ycRtwSAwE6bOsJlaiYsv2uFIyFugBqLXAVPheyBbQ3ZWlJgFgWlcq"], ["created_at", "2018-09-05 13:42:49.187389"], ["updated_at", "2018-09-05 13:42:49.187389"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Michale Heathcote"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Michale Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.193843"], ["updated_at", "2018-09-05 13:42:49.193843"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Melodie Bartell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melodie Bartell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.202177"], ["updated_at", "2018-09-05 13:42:49.202177"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Irwin Herman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Irwin Herman"], ["name", "Amberly Mante"], ["address", "Junita Casper"], ["created_at", "2018-09-05 13:42:49.207619"], ["updated_at", "2018-09-05 13:42:49.207619"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lissette Rutherford"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Alexia Stanton"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lissette Rutherford"], ["name", "Alexia Stanton"], ["created_at", "2018-09-05 13:42:49.213729"], ["updated_at", "2018-09-05 13:42:49.213729"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Micaela Cassin", "name"=>"Marleen Dibbert", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Micaela Cassin"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Micaela Cassin"], ["name", "Marleen Dibbert"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 13:42:49.227143"], ["updated_at", "2018-09-05 13:42:49.227143"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Micaela Cassin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Micaela Cassin"], ["name", "Marleen Dibbert"], ["description", "Default bundle for service 'Marleen Dibbert'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 13:42:49.233089"], ["updated_at", "2018-09-05 13:42:49.233089"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.78ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.14ms) Completed 200 OK in 27ms (Views: 2.3ms | ActiveRecord: 11.9ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kristin_grant@ryanoreilly.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Clayton Bartoletti"], ["last_name", "Mervin Crist"], ["email", "kristin_grant@ryanoreilly.ca"], ["password_digest", "$2a$04$kJIuePRq.FH4k.nXeI5CSOk4O.hAEw2r0e04t1ticNPGPw.kq62W6"], ["created_at", "2018-09-05 13:42:49.254544"], ["updated_at", "2018-09-05 13:42:49.254544"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kenya Schaefer"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kenya Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.261745"], ["updated_at", "2018-09-05 13:42:49.261745"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Yukiko Rodriguez"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yukiko Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.270510"], ["updated_at", "2018-09-05 13:42:49.270510"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Bess Roob"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bess Roob"], ["name", "Alise Schinner"], ["address", "Abigail Anderson"], ["created_at", "2018-09-05 13:42:49.276580"], ["updated_at", "2018-09-05 13:42:49.276580"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Liberty Hagenes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Katheleen Brekke"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Liberty Hagenes"], ["name", "Katheleen Brekke"], ["created_at", "2018-09-05 13:42:49.284957"], ["updated_at", "2018-09-05 13:42:49.284957"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Adelina Fay", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.1ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 34ms (Views: 7.2ms | ActiveRecord: 8.9ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "veronique_gottlieb@feeney.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Royce D'Amore"], ["last_name", "Myrtis Jakubowski"], ["email", "veronique_gottlieb@feeney.biz"], ["password_digest", "$2a$04$TBvQp5BQCoafNCSQVEJuzuiz.mtmvuiEsRcep5nCH.Sn3vVq/QmSi"], ["created_at", "2018-09-05 13:42:49.336288"], ["updated_at", "2018-09-05 13:42:49.336288"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kristopher Sipes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Audry Berge"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kristopher Sipes"], ["name", "Audry Berge"], ["created_at", "2018-09-05 13:42:49.346330"], ["updated_at", "2018-09-05 13:42:49.346330"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Raisa Smith"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raisa Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.353761"], ["updated_at", "2018-09-05 13:42:49.353761"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Forest Blick"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Forest Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.360336"], ["updated_at", "2018-09-05 13:42:49.360336"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lizabeth Waters"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lizabeth Waters"], ["name", "Coy Koch"], ["address", "Heidy Hartmann"], ["created_at", "2018-09-05 13:42:49.365712"], ["updated_at", "2018-09-05 13:42:49.365712"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Tamra Corkery"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Tamra Corkery"], ["name", "Luz Gutmann"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 13:42:49.371625"], ["updated_at", "2018-09-05 13:42:49.371625"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tamra Corkery"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Tamra Corkery"], ["name", "Luz Gutmann"], ["description", "Default bundle for service 'Luz Gutmann'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 13:42:49.378128"], ["updated_at", "2018-09-05 13:42:49.378128"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 6]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"6"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Tamra Corkery"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.0ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.3ms) UPDATE "mks_rate_chargeable_services" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_chargeable_services"."id" = $3 [["name", "Chargeable service 1"], ["updated_at", "2018-09-05 13:42:49.399914"], ["id", 6]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tamra Corkery"], ["LIMIT", 1]]  (1.0ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.05ms) Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.23ms) Completed 200 OK in 40ms (Views: 1.2ms | ActiveRecord: 12.2ms) Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marlena_daugherty@mraz.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cierra Dicki"], ["last_name", "Phebe Kautzer"], ["email", "marlena_daugherty@mraz.info"], ["password_digest", "$2a$04$DB16BKyhYuCDfDIdACpV8uIzfnrOes2bSxyygpRqeed34gvWBXk8i"], ["created_at", "2018-09-05 13:42:49.444185"], ["updated_at", "2018-09-05 13:42:49.444185"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Josephina Kshlerin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Miguelina Green"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Josephina Kshlerin"], ["name", "Miguelina Green"], ["created_at", "2018-09-05 13:42:49.452529"], ["updated_at", "2018-09-05 13:42:49.452529"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maryalice Dietrich"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maryalice Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.457703"], ["updated_at", "2018-09-05 13:42:49.457703"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lu Lockman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lu Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.463388"], ["updated_at", "2018-09-05 13:42:49.463388"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Andrew Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Andrew Lesch"], ["name", "Santo Reichel"], ["address", "Deena Oga"], ["created_at", "2018-09-05 13:42:49.469147"], ["updated_at", "2018-09-05 13:42:49.469147"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharonda Christiansen"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharonda Christiansen"], ["name", "Demetrius Smitham"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 13:42:49.474063"], ["updated_at", "2018-09-05 13:42:49.474063"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharonda Christiansen"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharonda Christiansen"], ["name", "Demetrius Smitham"], ["description", "Default bundle for service 'Demetrius Smitham'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 13:42:49.479373"], ["updated_at", "2018-09-05 13:42:49.479373"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 7]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Sharonda Christiansen"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.5ms | ActiveRecord: 6.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hildegard@steubermarks.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jed Murphy"], ["last_name", "My Jewess"], ["email", "hildegard@steubermarks.biz"], ["password_digest", "$2a$04$ocXQF6f8q.urKhCJedgZ4OO7J6n298szC6w87849PRu6CI4SjZIUe"], ["created_at", "2018-09-05 13:42:49.507569"], ["updated_at", "2018-09-05 13:42:49.507569"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ahmad Gottlieb"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ahmad Gottlieb"], ["name", "Felecia Jacobs"], ["address", "Daron Beatty"], ["created_at", "2018-09-05 13:42:49.513724"], ["updated_at", "2018-09-05 13:42:49.513724"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Celena Quigley"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Celena Quigley"], ["name", "Nona Beer"], ["address", "Nicol Bechtelar"], ["created_at", "2018-09-05 13:42:49.519940"], ["updated_at", "2018-09-05 13:42:49.519940"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Bart Hodkiewicz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cristin Raynor"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bart Hodkiewicz"], ["name", "Cristin Raynor"], ["created_at", "2018-09-05 13:42:49.527885"], ["updated_at", "2018-09-05 13:42:49.527885"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jacelyn Windler"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacelyn Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.534148"], ["updated_at", "2018-09-05 13:42:49.534148"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vinita Koss"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vinita Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.538959"], ["updated_at", "2018-09-05 13:42:49.538959"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Enrique Pagac"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Enrique Pagac"], ["name", "Sherri Baumbach"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.545990"], ["updated_at", "2018-09-05 13:42:49.545990"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Enrique Pagac"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Enrique Pagac"], ["name", "Sherri Baumbach"], ["description", "Default bundle for service 'Sherri Baumbach'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.551060"], ["updated_at", "2018-09-05 13:42:49.551060"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sana Mohr"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Deja Huel"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sana Mohr"], ["name", "Deja Huel"], ["created_at", "2018-09-05 13:42:49.559951"], ["updated_at", "2018-09-05 13:42:49.559951"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Forest Goldner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Forest Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.564745"], ["updated_at", "2018-09-05 13:42:49.564745"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Andrew Jerde"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Andrew Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.569438"], ["updated_at", "2018-09-05 13:42:49.569438"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Florance Legros"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Florance Legros"], ["name", "Jennifer Green"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.575535"], ["updated_at", "2018-09-05 13:42:49.575535"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Florance Legros"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Florance Legros"], ["name", "Jennifer Green"], ["description", "Default bundle for service 'Jennifer Green'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.580331"], ["updated_at", "2018-09-05 13:42:49.580331"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 9], ["chargeable_service_id", 9]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gordon Mertz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chung Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gordon Mertz"], ["name", "Chung Heaney"], ["created_at", "2018-09-05 13:42:49.589165"], ["updated_at", "2018-09-05 13:42:49.589165"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Allie Grant"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Allie Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.593929"], ["updated_at", "2018-09-05 13:42:49.593929"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Pat Carroll"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pat Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.598555"], ["updated_at", "2018-09-05 13:42:49.598555"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Shonta Zemlak"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Shonta Zemlak"], ["name", "Lesia Jacobi"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.604714"], ["updated_at", "2018-09-05 13:42:49.604714"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shonta Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Shonta Zemlak"], ["name", "Lesia Jacobi"], ["description", "Default bundle for service 'Lesia Jacobi'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.609583"], ["updated_at", "2018-09-05 13:42:49.609583"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 10], ["chargeable_service_id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Freeman Witting"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Arden Keeling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Freeman Witting"], ["name", "Arden Keeling"], ["created_at", "2018-09-05 13:42:49.619979"], ["updated_at", "2018-09-05 13:42:49.619979"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Terrell Hegmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Terrell Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.625042"], ["updated_at", "2018-09-05 13:42:49.625042"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Renetta Feil"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Renetta Feil"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.629990"], ["updated_at", "2018-09-05 13:42:49.629990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharon Balistreri"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharon Balistreri"], ["name", "Joella Mann"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.636538"], ["updated_at", "2018-09-05 13:42:49.636538"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharon Balistreri"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharon Balistreri"], ["name", "Joella Mann"], ["description", "Default bundle for service 'Joella Mann'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.642040"], ["updated_at", "2018-09-05 13:42:49.642040"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 11], ["chargeable_service_id", 11]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 9]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.06ms) Completed 200 OK in 16ms (Views: 8.2ms | ActiveRecord: 7.3ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lavinia.kemmer@vandervortsanford.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Reba Reilly"], ["last_name", "Colby McDermott"], ["email", "lavinia.kemmer@vandervortsanford.ca"], ["password_digest", "$2a$04$gWZmyvMR2Tu0gTBvHL3AJ.cCMLJBLZdnA9KxjFTU8DwFS/IQNeSYW"], ["created_at", "2018-09-05 13:42:49.674635"], ["updated_at", "2018-09-05 13:42:49.674635"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "joselyn@auer.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lady Schoen"], ["last_name", "Clayton Runolfsson"], ["email", "joselyn@auer.co.uk"], ["password_digest", "$2a$04$Ih45ok0p2gChB2f20wOdieMqI1Xz0CfLEIA7VzYlxC7KoaagS20mW"], ["created_at", "2018-09-05 13:42:49.706659"], ["updated_at", "2018-09-05 13:42:49.706659"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "moriah@kautzergorczany.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Phylis Hegmann"], ["last_name", "Cathey Borer"], ["email", "moriah@kautzergorczany.co.uk"], ["password_digest", "$2a$04$T5sr4RTlKUOShIbPHAX01.vjLTS7jOnOfmx6fcEGGqxNstFKqSfMG"], ["created_at", "2018-09-05 13:42:49.717259"], ["updated_at", "2018-09-05 13:42:49.717259"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Carlene Toy"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Carlene Toy"], ["authorized_by", "Corliss Hagenes"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 9], ["approved_by_id", 10], ["created_at", "2018-09-05 13:42:49.724267"], ["updated_at", "2018-09-05 13:42:49.724267"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" No serializer found for resource: #1, "base_rate"=>100, "utilization_rate"=>50}, {"chargeable_service_id"=>2, "base_rate"=>100, "utilization_rate"=>25}], status: "SUBMITTED", created_by_id: 9, approved_by_id: 10, remark: nil, created_at: "2018-09-05 13:42:49", updated_at: "2018-09-05 13:42:49"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.5ms) Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 2.5ms)  (1.2ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "keith_nienow@crooks.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lorie Wolf"], ["last_name", "Lizzette Turcotte"], ["email", "keith_nienow@crooks.us"], ["password_digest", "$2a$04$4ElTva5ALYAAqVQ4.dZXrO9ed8futl5kqmpjY5h6vw1Am3wl053zW"], ["created_at", "2018-09-05 13:42:49.755978"], ["updated_at", "2018-09-05 13:42:49.755978"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dorla_christiansen@keebler.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cristobal Abernathy"], ["last_name", "Randal Kihn"], ["email", "dorla_christiansen@keebler.co.uk"], ["password_digest", "$2a$04$700lYoD80FRxbmFhzxrFB.a8NDbGsohDSwmcVCv/x148TmrrA8g7m"], ["created_at", "2018-09-05 13:42:49.763990"], ["updated_at", "2018-09-05 13:42:49.763990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kent@harberhartmann.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rickie Parisian"], ["last_name", "Mellie Graham"], ["email", "kent@harberhartmann.ca"], ["password_digest", "$2a$04$/XkunmWRJ0uz/6V9swqGhOxMa339cq4MSC5m/REzdP2DTdkFLPSqC"], ["created_at", "2018-09-05 13:42:49.770604"], ["updated_at", "2018-09-05 13:42:49.770604"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Augustine Schroeder"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.5ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Augustine Schroeder"], ["authorized_by", "Pablo Corwin"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 12], ["approved_by_id", 13], ["created_at", "2018-09-05 13:42:49.777238"], ["updated_at", "2018-09-05 13:42:49.777238"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.64ms) Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "myrtle.huels@mueller.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cherly Funk"], ["last_name", "Geraldine Conroy"], ["email", "myrtle.huels@mueller.com"], ["password_digest", "$2a$04$W0TF/oq9dLVIkYKTnuwKMeKyhl0MotMuCuil20XG6E6vE0hiWrtDS"], ["created_at", "2018-09-05 13:42:49.802381"], ["updated_at", "2018-09-05 13:42:49.802381"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Quintin Dach"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Monique Schiller"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Quintin Dach"], ["name", "Monique Schiller"], ["created_at", "2018-09-05 13:42:49.811957"], ["updated_at", "2018-09-05 13:42:49.811957"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Clint Roob"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clint Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.818730"], ["updated_at", "2018-09-05 13:42:49.818730"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hui Pagac"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hui Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.824527"], ["updated_at", "2018-09-05 13:42:49.824527"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Morris Zulauf"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Morris Zulauf"], ["name", "Sheila Sauer"], ["address", "Shanti Lesch"], ["created_at", "2018-09-05 13:42:49.831757"], ["updated_at", "2018-09-05 13:42:49.831757"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Laurel Thompson"], ["service_delivery_unit_id", 11], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Laurel Thompson"], ["name", "Susie Lind"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 13:42:49.837318"], ["updated_at", "2018-09-05 13:42:49.837318"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Laurel Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Laurel Thompson"], ["name", "Susie Lind"], ["description", "Default bundle for service 'Susie Lind'"], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 13:42:49.842636"], ["updated_at", "2018-09-05 13:42:49.842636"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 12], ["chargeable_service_id", 12]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lyndsey Reinger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Melvina Kuhn"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lyndsey Reinger"], ["name", "Melvina Kuhn"], ["created_at", "2018-09-05 13:42:49.852598"], ["updated_at", "2018-09-05 13:42:49.852598"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Asuncion Kertzmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Asuncion Kertzmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.857258"], ["updated_at", "2018-09-05 13:42:49.857258"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tanya Kilback"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tanya Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.862121"], ["updated_at", "2018-09-05 13:42:49.862121"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Debora Rolfson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Debora Rolfson"], ["name", "Tawanna Eichmann"], ["address", "Lucius Kemmer"], ["created_at", "2018-09-05 13:42:49.867367"], ["updated_at", "2018-09-05 13:42:49.867367"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Donnie Harris"], ["service_delivery_unit_id", 12], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Donnie Harris"], ["name", "Lisha Heller"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 13:42:49.872498"], ["updated_at", "2018-09-05 13:42:49.872498"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donnie Harris"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Donnie Harris"], ["name", "Lisha Heller"], ["description", "Default bundle for service 'Lisha Heller'"], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 13:42:49.878085"], ["updated_at", "2018-09-05 13:42:49.878085"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 13], ["chargeable_service_id", 13]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Theron Abbott"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Verline Bernhard"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Theron Abbott"], ["name", "Verline Bernhard"], ["description", "Quam eveniet consectetur dolore aliquam ut est. Aliquam aut expedita hic et ut. Magni voluptas in omnis ex perspiciatis ut et quo. Laborum eos corporis sunt ea quis qui voluptas. Aspernatur repellat rerum aut facilis nesciunt voluptatibus voluptatem."], ["created_at", "2018-09-05 13:42:49.977542"], ["updated_at", "2018-09-05 13:42:49.977542"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Monroe Ryan"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Gary Gerlach"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.5ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Monroe Ryan"], ["name", "Gary Gerlach"], ["description", "Fugiat tempore in vel unde. Quidem autem aut reiciendis est. Consequatur ullam assumenda eius ut rem ea non."], ["equipment_type_id", 1], ["created_at", "2018-09-05 13:42:49.986475"], ["updated_at", "2018-09-05 13:42:49.986475"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Carolin Torphy"], ["LIMIT", 1]] Mks::Edm::Equipment Create (3.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carolin Torphy"], ["name", "Cleora Schmeler"], ["description", "Randy Lesch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 13:42:49.994305"], ["updated_at", "2018-09-05 13:42:49.994305"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Sandi Leannon"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Mildred Crona"], ["LIMIT", 1]] Mks::Edm::LocationType Create (3.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sandi Leannon"], ["name", "Mildred Crona"], ["description", "Zetta Macejkovic"], ["created_at", "2018-09-05 13:42:50.034623"], ["updated_at", "2018-09-05 13:42:50.034623"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Carla Cummerata"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carla Cummerata"], ["name", "Frances Russel"], ["location_type_id", 1], ["description", "Cythia Nienow"], ["address", "Jeremiah Ziemann"], ["created_at", "2018-09-05 13:42:50.044274"], ["updated_at", "2018-09-05 13:42:50.044274"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Pia Williamson"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tonia Kozey"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.6ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Pia Williamson"], ["name", "Lemuel Kozey"], ["description", "Lamont Stark"], ["serial_number", "Tonia Kozey"], ["brand", "Gianna Dickinson"], ["item_model", "Dalila McKenzie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 13:42:50.054997"], ["updated_at", "2018-09-05 13:42:50.054997"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Almeda Metz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Nicola Langworth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Almeda Metz"], ["name", "Nicola Langworth"], ["description", "Aut pariatur omnis facere ab officia sed non. Voluptas harum similique at quam eos laborum molestiae quia. Autem quos animi culpa architecto est. Voluptatem debitis esse sed omnis voluptatem minima ut aut."], ["created_at", "2018-09-05 13:42:50.063318"], ["updated_at", "2018-09-05 13:42:50.063318"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Summer Harris"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Michel Medhurst"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Summer Harris"], ["name", "Michel Medhurst"], ["description", "Doloremque veniam sint distinctio delectus et accusamus. Illum eos doloribus ea optio harum in enim. Velit est inventore quia nemo expedita consequatur rem."], ["equipment_type_id", 2], ["created_at", "2018-09-05 13:42:50.069265"], ["updated_at", "2018-09-05 13:42:50.069265"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Genevieve McKenzie"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Genevieve McKenzie"], ["name", "Tobias Gaylord"], ["description", "Margarett Ziemann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 13:42:50.073694"], ["updated_at", "2018-09-05 13:42:50.073694"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Erwin McGlynn"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jenni Mosciski"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Erwin McGlynn"], ["name", "Jenni Mosciski"], ["description", "Mia Blick"], ["created_at", "2018-09-05 13:42:50.080171"], ["updated_at", "2018-09-05 13:42:50.080171"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Isobel Parker"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Isobel Parker"], ["name", "Amina Hilpert"], ["location_type_id", 2], ["description", "Eleanora Considine"], ["address", "Mayola Swaniawski"], ["created_at", "2018-09-05 13:42:50.084495"], ["updated_at", "2018-09-05 13:42:50.084495"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Danette Padberg"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shanelle Dietrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.4ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Danette Padberg"], ["name", "Neville Leuschke"], ["description", "Larraine Wintheiser"], ["serial_number", "Shanelle Dietrich"], ["brand", "Eloise Littel"], ["item_model", "Elfreda O'Hara"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 13:42:50.090093"], ["updated_at", "2018-09-05 13:42:50.090093"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tilda_moen@jewess.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ricki Kris"], ["last_name", "Jeri Stroman"], ["email", "tilda_moen@jewess.info"], ["password_digest", "$2a$04$cXNObd75tGm1i4JOxHuSLuzIFZwIes4tEx0eE5wPd/SsWw4g2.03q"], ["created_at", "2018-09-05 13:42:50.098345"], ["updated_at", "2018-09-05 13:42:50.098345"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cierra_beahan@reynolds.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Stacee Bins"], ["last_name", "Bula Borer"], ["email", "cierra_beahan@reynolds.name"], ["password_digest", "$2a$04$u4.KJcp/o4DdekK3tBYsl.O2FbaEDV2bC6j/8UtUwkhmU3yRU.uKG"], ["created_at", "2018-09-05 13:42:50.105597"], ["updated_at", "2018-09-05 13:42:50.105597"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"16", "authorized_by"=>"Shonna Emard", "authorized_on"=>"2018-09-05", "created_by_id"=>"15", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"12", "chargeable_service_name"=>"Lisha Heller", "equipment_item_id"=>"1", "equipment_item_name"=>"Neville Leuschke", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Gretchen Gaylord", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Gretchen Gaylord"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Gretchen Gaylord"], ["authorized_by", "Shonna Emard"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"12\",\"chargeable_service_name\":\"Lisha Heller\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Neville Leuschke\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 14], ["approved_by_id", 16], ["created_at", "2018-09-05 13:42:50.117529"], ["updated_at", "2018-09-05 13:42:50.117529"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.2ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.48ms) Completed 201 Created in 17ms (Views: 1.6ms | ActiveRecord: 5.8ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "santo@stracke.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Oneida Reynolds"], ["last_name", "Edythe Rogahn"], ["email", "santo@stracke.com"], ["password_digest", "$2a$04$S79VK.phcjJl2un9fis5.unFbtrGN5rhWFhTocIerJ6CPyDSsAvtW"], ["created_at", "2018-09-05 13:42:50.136975"], ["updated_at", "2018-09-05 13:42:50.136975"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Devin Harber"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tennie Gislason"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Devin Harber"], ["name", "Tennie Gislason"], ["created_at", "2018-09-05 13:42:50.149826"], ["updated_at", "2018-09-05 13:42:50.149826"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Danuta Torphy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Danuta Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.155403"], ["updated_at", "2018-09-05 13:42:50.155403"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Latricia Boehm"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latricia Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.166430"], ["updated_at", "2018-09-05 13:42:50.166430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dora Oga"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dora Oga"], ["name", "Omer O'Connell"], ["address", "Wilhemina Price"], ["created_at", "2018-09-05 13:42:50.171435"], ["updated_at", "2018-09-05 13:42:50.171435"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "January Block"], ["service_delivery_unit_id", 13], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "January Block"], ["name", "Blythe Jast"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 13:42:50.177262"], ["updated_at", "2018-09-05 13:42:50.177262"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "January Block"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "January Block"], ["name", "Blythe Jast"], ["description", "Default bundle for service 'Blythe Jast'"], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 13:42:50.183070"], ["updated_at", "2018-09-05 13:42:50.183070"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 14], ["chargeable_service_id", 14]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Myrtie Graham"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shenna Bogisich"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrtie Graham"], ["name", "Shenna Bogisich"], ["created_at", "2018-09-05 13:42:50.192407"], ["updated_at", "2018-09-05 13:42:50.192407"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Saran Kub"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Saran Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.196965"], ["updated_at", "2018-09-05 13:42:50.196965"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Clelia Parker"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clelia Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.201406"], ["updated_at", "2018-09-05 13:42:50.201406"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Laticia Cartwright"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Laticia Cartwright"], ["name", "Tracee Von"], ["address", "Rosita Dicki"], ["created_at", "2018-09-05 13:42:50.205918"], ["updated_at", "2018-09-05 13:42:50.205918"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Terri Armstrong"], ["service_delivery_unit_id", 14], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Terri Armstrong"], ["name", "Reynaldo Bashirian"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 13:42:50.210556"], ["updated_at", "2018-09-05 13:42:50.210556"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Terri Armstrong"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Terri Armstrong"], ["name", "Reynaldo Bashirian"], ["description", "Default bundle for service 'Reynaldo Bashirian'"], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 13:42:50.215647"], ["updated_at", "2018-09-05 13:42:50.215647"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 15], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Ollie Buckridge"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Tonette Hessel"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ollie Buckridge"], ["name", "Tonette Hessel"], ["description", "Consequatur amet velit dolor suscipit vel accusantium. Ea sunt consequuntur perferendis fuga quis officia totam. Aut nihil voluptates veniam quo voluptatibus perspiciatis suscipit distinctio."], ["created_at", "2018-09-05 13:42:50.225524"], ["updated_at", "2018-09-05 13:42:50.225524"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Erminia Ward"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ferdinand Mosciski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.5ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Erminia Ward"], ["name", "Ferdinand Mosciski"], ["description", "Voluptates eius incidunt suscipit libero inventore voluptatem omnis. Asperiores voluptatem doloremque quo recusandae ut. Est assumenda at odit asperiores. Illum ipsa quas ipsam reprehenderit ut repellendus. Aut cumque omnis assumenda eaque."], ["equipment_type_id", 3], ["created_at", "2018-09-05 13:42:50.231618"], ["updated_at", "2018-09-05 13:42:50.231618"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Gerard Bartoletti"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Gerard Bartoletti"], ["name", "Ayesha Spencer"], ["description", "Chan Klocko"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 13:42:50.238212"], ["updated_at", "2018-09-05 13:42:50.238212"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Elida Beier"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Ethelyn Shields"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.5ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elida Beier"], ["name", "Ethelyn Shields"], ["description", "Celestine Rath"], ["created_at", "2018-09-05 13:42:50.244826"], ["updated_at", "2018-09-05 13:42:50.244826"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marna Windler"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Marna Windler"], ["name", "Elois Boehm"], ["location_type_id", 3], ["description", "Virgil Kuhn"], ["address", "Essie Torphy"], ["created_at", "2018-09-05 13:42:50.251194"], ["updated_at", "2018-09-05 13:42:50.251194"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Dannette Cremin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lang Robel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Dannette Cremin"], ["name", "Jeannie Hilll"], ["description", "Chara Collins"], ["serial_number", "Lang Robel"], ["brand", "Colton Halvorson"], ["item_model", "Courtney Luettgen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 13:42:50.257763"], ["updated_at", "2018-09-05 13:42:50.257763"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Santina Fahey"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Josue Dicki"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Santina Fahey"], ["name", "Josue Dicki"], ["description", "Quos officia quisquam architecto provident voluptates ut sit quia. Sunt asperiores id incidunt possimus. Nulla corrupti impedit autem ducimus sed amet."], ["created_at", "2018-09-05 13:42:50.266755"], ["updated_at", "2018-09-05 13:42:50.266755"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Hugo Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Beatris Mann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Hugo Schroeder"], ["name", "Beatris Mann"], ["description", "Dolor voluptatibus totam vero corporis. Voluptatibus pariatur et possimus corrupti saepe accusamus animi. Dolores possimus id quia eveniet fugit. Eum assumenda sint facilis enim ea dolores exercitationem."], ["equipment_type_id", 4], ["created_at", "2018-09-05 13:42:50.272438"], ["updated_at", "2018-09-05 13:42:50.272438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Elfrieda Emmerich"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Elfrieda Emmerich"], ["name", "Jude Farrell"], ["description", "Jackqueline Casper"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 13:42:50.276840"], ["updated_at", "2018-09-05 13:42:50.276840"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Veda Will"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Danyel Stokes"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Veda Will"], ["name", "Danyel Stokes"], ["description", "Monty Johns"], ["created_at", "2018-09-05 13:42:50.283201"], ["updated_at", "2018-09-05 13:42:50.283201"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Ava Farrell"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Ava Farrell"], ["name", "Johnie Corwin"], ["location_type_id", 4], ["description", "Trinidad Waters"], ["address", "Alejandro Zulauf"], ["created_at", "2018-09-05 13:42:50.288661"], ["updated_at", "2018-09-05 13:42:50.288661"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Elenore Ullrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Jeanine Macejkovic"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Elenore Ullrich"], ["name", "Kiyoko Bashirian"], ["description", "Marnie Lowe"], ["serial_number", "Jeanine Macejkovic"], ["brand", "Domingo Doyle"], ["item_model", "Treva Lemke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 13:42:50.294314"], ["updated_at", "2018-09-05 13:42:50.294314"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "erika_johns@leannon.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Octavia Stroman"], ["last_name", "Khadijah Huel"], ["email", "erika_johns@leannon.biz"], ["password_digest", "$2a$04$yAQYf1Akm8nnZksD3KEhKufEOGOBKp470aQSAbjmypggQL530nyK2"], ["created_at", "2018-09-05 13:42:50.301264"], ["updated_at", "2018-09-05 13:42:50.301264"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "patricia.kuhlman@faycorkery.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Nettie Flatley"], ["last_name", "Amada Nienow"], ["email", "patricia.kuhlman@faycorkery.name"], ["password_digest", "$2a$04$4q6y05Q4P8Bgnd.RPm8RW.T3Ox8REd50R6j6aGe15fsLSLbM7bCo."], ["created_at", "2018-09-05 13:42:50.308384"], ["updated_at", "2018-09-05 13:42:50.308384"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"19", "authorized_by"=>"Derick Reynolds", "authorized_on"=>"2018-09-05", "created_by_id"=>"18", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"14", "chargeable_service_name"=>"Reynaldo Bashirian", "equipment_item_id"=>"3", "equipment_item_name"=>"Kiyoko Bashirian", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Paulene Beer", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Paulene Beer"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Paulene Beer"], ["authorized_by", "Derick Reynolds"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"14\",\"chargeable_service_name\":\"Reynaldo Bashirian\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Kiyoko Bashirian\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 17], ["approved_by_id", 19], ["created_at", "2018-09-05 13:42:50.321509"], ["updated_at", "2018-09-05 13:42:50.321509"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.22ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 16ms (Views: 1.5ms | ActiveRecord: 7.5ms)  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "melaine@wilkinson.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Mindi Wilkinson"], ["last_name", "Augustina Adams"], ["email", "melaine@wilkinson.name"], ["password_digest", "$2a$04$xBjdpij1RGhILBgwSjen0OmIIuVLEt1oJiLXAo7TQ/hSYe440ELZG"], ["created_at", "2018-09-05 13:42:50.338515"], ["updated_at", "2018-09-05 13:42:50.338515"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Damien Senger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Zachariah Nicolas"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Damien Senger"], ["name", "Zachariah Nicolas"], ["created_at", "2018-09-05 13:42:50.345288"], ["updated_at", "2018-09-05 13:42:50.345288"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Denae Grimes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Denae Grimes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.352049"], ["updated_at", "2018-09-05 13:42:50.352049"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Zelda Harris"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zelda Harris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.358193"], ["updated_at", "2018-09-05 13:42:50.358193"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Brunilda Gutmann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brunilda Gutmann"], ["name", "Dustin Lebsack"], ["address", "Dinah Nicolas"], ["created_at", "2018-09-05 13:42:50.364754"], ["updated_at", "2018-09-05 13:42:50.364754"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sheryl Flatley"], ["service_delivery_unit_id", 15], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sheryl Flatley"], ["name", "Lanelle Hagenes"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 13:42:50.369448"], ["updated_at", "2018-09-05 13:42:50.369448"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sheryl Flatley"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sheryl Flatley"], ["name", "Lanelle Hagenes"], ["description", "Default bundle for service 'Lanelle Hagenes'"], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 13:42:50.374891"], ["updated_at", "2018-09-05 13:42:50.374891"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 16], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Max Mraz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karyl Crooks"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Max Mraz"], ["name", "Karyl Crooks"], ["created_at", "2018-09-05 13:42:50.383908"], ["updated_at", "2018-09-05 13:42:50.383908"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kisha Botsford"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kisha Botsford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.388194"], ["updated_at", "2018-09-05 13:42:50.388194"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Fern Becker"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Fern Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.393857"], ["updated_at", "2018-09-05 13:42:50.393857"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eilene Hackett"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eilene Hackett"], ["name", "Francoise Bergstrom"], ["address", "Allena Luettgen"], ["created_at", "2018-09-05 13:42:50.398646"], ["updated_at", "2018-09-05 13:42:50.398646"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Mitchell Robel"], ["service_delivery_unit_id", 16], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Mitchell Robel"], ["name", "Deanna Heidenreich"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 13:42:50.403564"], ["updated_at", "2018-09-05 13:42:50.403564"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mitchell Robel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Mitchell Robel"], ["name", "Deanna Heidenreich"], ["description", "Default bundle for service 'Deanna Heidenreich'"], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 13:42:50.408366"], ["updated_at", "2018-09-05 13:42:50.408366"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 17], ["chargeable_service_id", 17]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Katina Heller"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Catherine Walsh"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Katina Heller"], ["name", "Catherine Walsh"], ["description", "Est laudantium quis repudiandae iusto placeat. Non possimus officia est magnam. Quis velit eos quae dolorem omnis. Quis dignissimos esse enim necessitatibus ratione. Voluptas enim debitis vitae non et eos quae."], ["created_at", "2018-09-05 13:42:50.417914"], ["updated_at", "2018-09-05 13:42:50.417914"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Letty Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Luisa Schultz"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Letty Hilpert"], ["name", "Luisa Schultz"], ["description", "Delectus ipsam error id quia fugit. Qui consequuntur quo doloremque nostrum repudiandae rerum cupiditate. Voluptas sint incidunt dolores velit."], ["equipment_type_id", 5], ["created_at", "2018-09-05 13:42:50.423509"], ["updated_at", "2018-09-05 13:42:50.423509"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Daria Bruen"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Daria Bruen"], ["name", "Patrice O'Hara"], ["description", "Arnoldo Leffler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 13:42:50.428031"], ["updated_at", "2018-09-05 13:42:50.428031"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Tonda Jacobi"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Sau Baumbach"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tonda Jacobi"], ["name", "Sau Baumbach"], ["description", "Berenice Sawayn"], ["created_at", "2018-09-05 13:42:50.434759"], ["updated_at", "2018-09-05 13:42:50.434759"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Kanisha Wilderman"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kanisha Wilderman"], ["name", "Kera Gorczany"], ["location_type_id", 5], ["description", "Angelika Kozey"], ["address", "Erin Luettgen"], ["created_at", "2018-09-05 13:42:50.439193"], ["updated_at", "2018-09-05 13:42:50.439193"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Devorah Lebsack"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Quintin Kuvalis"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Devorah Lebsack"], ["name", "Erin Legros"], ["description", "Twanda Quigley"], ["serial_number", "Quintin Kuvalis"], ["brand", "Korey Denesik"], ["item_model", "Jona Baumbach"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 13:42:50.445151"], ["updated_at", "2018-09-05 13:42:50.445151"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Angelica Tromp"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Page Gottlieb"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angelica Tromp"], ["name", "Page Gottlieb"], ["description", "Est incidunt quo veritatis libero voluptatibus. Praesentium hic qui reprehenderit eius voluptatibus est quo dicta. Omnis eius laboriosam veritatis quas maiores. Explicabo quia est provident quaerat ut et esse. Non est numquam officiis illum sed."], ["created_at", "2018-09-05 13:42:50.452738"], ["updated_at", "2018-09-05 13:42:50.452738"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Albert Howell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Charis Torphy"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.0ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Albert Howell"], ["name", "Charis Torphy"], ["description", "Quo dignissimos omnis porro sit aut quidem. Quis sapiente sunt pariatur est aperiam corporis atque voluptates. Vel nihil recusandae aut fugit officiis. Sunt dolorum voluptas dolores nobis sequi aut et provident. Velit in sunt ut sapiente omnis qui quis unde."], ["equipment_type_id", 6], ["created_at", "2018-09-05 13:42:50.458894"], ["updated_at", "2018-09-05 13:42:50.458894"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Franklin Metz"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Franklin Metz"], ["name", "Edith Hahn"], ["description", "Tish Quitzon"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 13:42:50.463718"], ["updated_at", "2018-09-05 13:42:50.463718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Avis Fisher"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jae Lesch"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Avis Fisher"], ["name", "Jae Lesch"], ["description", "Amee Welch"], ["created_at", "2018-09-05 13:42:50.470365"], ["updated_at", "2018-09-05 13:42:50.470365"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Sherman Mante"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sherman Mante"], ["name", "Felix Wolf"], ["location_type_id", 6], ["description", "Sandee Becker"], ["address", "Marlene Rodriguez"], ["created_at", "2018-09-05 13:42:50.474706"], ["updated_at", "2018-09-05 13:42:50.474706"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Vernie Kemmer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Maude Smith"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Vernie Kemmer"], ["name", "Nicol Huel"], ["description", "Ivy Mitchell"], ["serial_number", "Maude Smith"], ["brand", "Yong Collins"], ["item_model", "Verdell Walsh"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 13:42:50.480100"], ["updated_at", "2018-09-05 13:42:50.480100"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "daina@schmeler.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alva Glover"], ["last_name", "Ngan Jerde"], ["email", "daina@schmeler.biz"], ["password_digest", "$2a$04$VIzwz.ejrq.CHR2dgQwd4ulyZTtQ/ZHV1KRO2SUv3N7N7vqlm/wO."], ["created_at", "2018-09-05 13:42:50.486900"], ["updated_at", "2018-09-05 13:42:50.486900"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "julius@welchvonrueden.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Catalina Prosacco"], ["last_name", "Karima Davis"], ["email", "julius@welchvonrueden.us"], ["password_digest", "$2a$04$ivuTvx6n9xJxEnzxSRB0yOhT6wtog1afGjGmU7EXTRT5URXvT9b4m"], ["created_at", "2018-09-05 13:42:50.493713"], ["updated_at", "2018-09-05 13:42:50.493713"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"22", "authorized_by"=>"Rickey Stamm", "authorized_on"=>"2018-09-05", "created_by_id"=>"21", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"16", "chargeable_service_name"=>"Deanna Heidenreich", "equipment_item_id"=>"5", "equipment_item_name"=>"Nicol Huel", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 4.0ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kasey.okuneva@watsicahammes.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kelvin Simonis"], ["last_name", "Brook Kunde"], ["email", "kasey.okuneva@watsicahammes.biz"], ["password_digest", "$2a$04$CotMXr2qLLD1UlTySrGVBOD/8mWI89eAf0S7Ff/7W5GUPMj2KNKta"], ["created_at", "2018-09-05 13:42:50.518562"], ["updated_at", "2018-09-05 13:42:50.518562"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "naomi@nader.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shakia Sauer"], ["last_name", "Xiao Raynor"], ["email", "naomi@nader.ca"], ["password_digest", "$2a$04$W/qGwUEpY7hE8hFIgcbTQucz5uMHLY53yqwd6k4V.bxuQGO5IT62C"], ["created_at", "2018-09-05 13:42:50.528576"], ["updated_at", "2018-09-05 13:42:50.528576"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "virgilio@russel.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ben Reynolds"], ["last_name", "Carrol Deckow"], ["email", "virgilio@russel.com"], ["password_digest", "$2a$04$u4.xOAxHfU7061tH49U6Eu6RgVNVktmfSBjHnYGWP/VSTaE6DDlwq"], ["created_at", "2018-09-05 13:42:50.535297"], ["updated_at", "2018-09-05 13:42:50.535297"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Jalisa Wyman"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Jalisa Wyman"], ["authorized_by", "Myesha Kreiger"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 24], ["approved_by_id", 25], ["created_at", "2018-09-05 13:42:50.540191"], ["updated_at", "2018-09-05 13:42:50.540191"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Kristopher Bayer"}, "id"=>"5"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.6ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Jalisa Wyman"], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Kristopher Bayer"], ["updated_at", "2018-09-05 13:42:50.551579"], ["id", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.21ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 5.9ms) Mks::Rate::RateChangeRequest Load (1.1ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tiara_damore@ondricka.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rickie Schaden"], ["last_name", "Keila Koepp"], ["email", "tiara_damore@ondricka.com"], ["password_digest", "$2a$04$vqZEATBSmwQjXxPJWUL9jOgTcr70SsGLuo/24Nut91uLpTRHtNJwy"], ["created_at", "2018-09-05 13:42:50.567445"], ["updated_at", "2018-09-05 13:42:50.567445"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "elayne@schumm.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cari Schaefer"], ["last_name", "Janna Goodwin"], ["email", "elayne@schumm.us"], ["password_digest", "$2a$04$L5lMmTcd6cdm8u.eOijPuOugQAQ1F402DxvunideN82.4D9G9LVEu"], ["created_at", "2018-09-05 13:42:50.574366"], ["updated_at", "2018-09-05 13:42:50.574366"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "edyth@dubuque.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Theressa Sporer"], ["last_name", "Tilda Runolfsdottir"], ["email", "edyth@dubuque.info"], ["password_digest", "$2a$04$5Rhnpiya3voiDm8zmevttuHLzYByVKgZAv0bY3AG4sWTkkBUpIMTG"], ["created_at", "2018-09-05 13:42:50.580735"], ["updated_at", "2018-09-05 13:42:50.580735"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Shin Reichert"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Shin Reichert"], ["authorized_by", "Garfield Rogahn"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 27], ["approved_by_id", 28], ["created_at", "2018-09-05 13:42:50.586732"], ["updated_at", "2018-09-05 13:42:50.586732"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maya Nolan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Hubert Schmeler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maya Nolan"], ["name", "Hubert Schmeler"], ["created_at", "2018-09-05 13:42:50.597727"], ["updated_at", "2018-09-05 13:42:50.597727"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Eldridge Lebsack"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eldridge Lebsack"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.605740"], ["updated_at", "2018-09-05 13:42:50.605740"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Georgann Hickle"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Georgann Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.610744"], ["updated_at", "2018-09-05 13:42:50.610744"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Julieann Kassulke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Julieann Kassulke"], ["name", "Shanel Batz"], ["address", "Mervin Leffler"], ["created_at", "2018-09-05 13:42:50.615367"], ["updated_at", "2018-09-05 13:42:50.615367"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Hunter Huel"], ["service_delivery_unit_id", 17], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Hunter Huel"], ["name", "Junior Wilderman"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 13:42:50.619815"], ["updated_at", "2018-09-05 13:42:50.619815"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Hunter Huel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Hunter Huel"], ["name", "Junior Wilderman"], ["description", "Default bundle for service 'Junior Wilderman'"], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 13:42:50.624906"], ["updated_at", "2018-09-05 13:42:50.624906"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 18], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Effie Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Flavia Mante"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Effie Waelchi"], ["name", "Flavia Mante"], ["created_at", "2018-09-05 13:42:50.633836"], ["updated_at", "2018-09-05 13:42:50.633836"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gabriel Stokes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gabriel Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.638749"], ["updated_at", "2018-09-05 13:42:50.638749"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Joeann Emard"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joeann Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.643444"], ["updated_at", "2018-09-05 13:42:50.643444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Fidel Lindgren"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fidel Lindgren"], ["name", "Fernando Kutch"], ["address", "Jacquelyn Mayer"], ["created_at", "2018-09-05 13:42:50.648405"], ["updated_at", "2018-09-05 13:42:50.648405"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Robby Abbott"], ["service_delivery_unit_id", 18], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Robby Abbott"], ["name", "Stevie Tromp"], ["service_type_id", 20], ["base_unit_id", 39], ["utilization_unit_id", 40], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 13:42:50.653397"], ["updated_at", "2018-09-05 13:42:50.653397"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Robby Abbott"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Robby Abbott"], ["name", "Stevie Tromp"], ["description", "Default bundle for service 'Stevie Tromp'"], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 13:42:50.658573"], ["updated_at", "2018-09-05 13:42:50.658573"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 19], ["chargeable_service_id", 19]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Faustina Borer"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ingrid Parker"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Faustina Borer"], ["name", "Ingrid Parker"], ["description", "Corrupti iusto molestiae dicta repellendus quidem consequuntur unde. Pariatur est molestias sunt voluptatem alias qui dolores. Eum error et quidem debitis eveniet nihil impedit ipsa."], ["created_at", "2018-09-05 13:42:50.669551"], ["updated_at", "2018-09-05 13:42:50.669551"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gene Miller"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Branden Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gene Miller"], ["name", "Branden Schroeder"], ["description", "Placeat dolore sit dolorum corrupti maxime atque aut voluptatum. Est ab et recusandae qui consequuntur tempora et. Corporis quibusdam similique voluptate nihil. Sit non quidem facilis nam reiciendis quam provident."], ["equipment_type_id", 7], ["created_at", "2018-09-05 13:42:50.675262"], ["updated_at", "2018-09-05 13:42:50.675262"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Luanne Corwin"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Luanne Corwin"], ["name", "Birgit Lakin"], ["description", "Jaime Kling"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 13:42:50.680057"], ["updated_at", "2018-09-05 13:42:50.680057"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Titus Ziemann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Loreen Denesik"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Titus Ziemann"], ["name", "Loreen Denesik"], ["description", "Alexandria Cassin"], ["created_at", "2018-09-05 13:42:50.686427"], ["updated_at", "2018-09-05 13:42:50.686427"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Maida Simonis"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Maida Simonis"], ["name", "Shantay Rodriguez"], ["location_type_id", 7], ["description", "Sheri Heidenreich"], ["address", "Evonne Dickinson"], ["created_at", "2018-09-05 13:42:50.690711"], ["updated_at", "2018-09-05 13:42:50.690711"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Horace Klein"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Dulcie Block"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Horace Klein"], ["name", "Dann Bednar"], ["description", "Karren Murphy"], ["serial_number", "Dulcie Block"], ["brand", "Bud Hartmann"], ["item_model", "Alva Thompson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 13:42:50.696495"], ["updated_at", "2018-09-05 13:42:50.696495"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Lacy Anderson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gabriel O'Hara"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lacy Anderson"], ["name", "Gabriel O'Hara"], ["description", "Maiores reiciendis facilis praesentium enim accusamus aut. Et blanditiis ut dolorum ut est eveniet. Quo omnis illo sed maxime."], ["created_at", "2018-09-05 13:42:50.704057"], ["updated_at", "2018-09-05 13:42:50.704057"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gladis Crooks"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Lia Satterfield"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.7ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gladis Crooks"], ["name", "Lia Satterfield"], ["description", "Libero omnis quidem pariatur facere non aspernatur dolorum soluta. Et saepe aperiam vitae culpa. Accusamus in atque quo consequatur aliquid culpa qui debitis. Et sunt esse labore id dolorem quod. Voluptas tempora sed dolorem facere libero."], ["equipment_type_id", 8], ["created_at", "2018-09-05 13:42:50.709472"], ["updated_at", "2018-09-05 13:42:50.709472"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lita Kulas"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lita Kulas"], ["name", "Marvel Botsford"], ["description", "Maire Leffler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 13:42:50.714007"], ["updated_at", "2018-09-05 13:42:50.714007"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Donnie Armstrong"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Majorie Schiller"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Donnie Armstrong"], ["name", "Majorie Schiller"], ["description", "Damien Stoltenberg"], ["created_at", "2018-09-05 13:42:50.720118"], ["updated_at", "2018-09-05 13:42:50.720118"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Malisa Hermann"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Malisa Hermann"], ["name", "Lyndon Kertzmann"], ["location_type_id", 8], ["description", "Debroah Rogahn"], ["address", "Leonard Raynor"], ["created_at", "2018-09-05 13:42:50.724851"], ["updated_at", "2018-09-05 13:42:50.724851"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Karyl Orn"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Linda Sanford"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Karyl Orn"], ["name", "Shawanna Waters"], ["description", "Ardath Wisozk"], ["serial_number", "Linda Sanford"], ["brand", "Mildred Purdy"], ["item_model", "Nikita Harvey"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 13:42:50.731002"], ["updated_at", "2018-09-05 13:42:50.731002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tana@skiles.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Idella Wiza"], ["last_name", "Lavern Fahey"], ["email", "tana@skiles.biz"], ["password_digest", "$2a$04$Ov5K5Z9spnosjAqTayqIb.Chp5mca9DcCqfoVUcpuF1MRgPBQ1wTG"], ["created_at", "2018-09-05 13:42:50.738074"], ["updated_at", "2018-09-05 13:42:50.738074"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "eloy@kuvalis.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lilian Farrell"], ["last_name", "Marielle Schmeler"], ["email", "eloy@kuvalis.name"], ["password_digest", "$2a$04$tEVKdxXmOsNhAEdU5aJcK.WeOB5Zuz/7Vj3s0e2J7MQsGylg2lAY6"], ["created_at", "2018-09-05 13:42:50.744584"], ["updated_at", "2018-09-05 13:42:50.744584"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"30", "authorized_by"=>"Rochell Schinner", "authorized_on"=>"2018-09-05", "created_by_id"=>"29", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"18", "chargeable_service_name"=>"Stevie Tromp", "equipment_item_id"=>"7", "equipment_item_name"=>"Shawanna Waters", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Williams Predovic", "status"=>"SUBMITTED"}, "id"=>"6"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Williams Predovic"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "reference_number" = $1, "authorized_by" = $2, "created_by_id" = $3, "approved_by_id" = $4, "rates" = $5, "updated_at" = $6 WHERE "mks_rate_rate_change_requests"."id" = $7 [["reference_number", "Williams Predovic"], ["authorized_by", "Rochell Schinner"], ["created_by_id", 29], ["approved_by_id", 30], ["rates", "[{\"chargeable_service_id\":\"18\",\"chargeable_service_name\":\"Stevie Tromp\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Shawanna Waters\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 13:42:50.757027"], ["id", 6]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.21ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 6.3ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jeanmarie@nicolas.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Dusty Wolff"], ["last_name", "Emely Jacobson"], ["email", "jeanmarie@nicolas.com"], ["password_digest", "$2a$04$4KwpTEcpUeNyOMQKZXUpEOwyCt5RdJSxbyd8NFKzIvLOWQMkBvZJG"], ["created_at", "2018-09-05 13:42:50.773811"], ["updated_at", "2018-09-05 13:42:50.773811"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "fran.marquardt@cruickshankleannon.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Betsy Abshire"], ["last_name", "Cheryll Barrows"], ["email", "fran.marquardt@cruickshankleannon.com"], ["password_digest", "$2a$04$lq0ogP40XPmKKJza0VDb1Ote9mvBsccy24rwnVVB9m.j1ZkBHrY8C"], ["created_at", "2018-09-05 13:42:50.783073"], ["updated_at", "2018-09-05 13:42:50.783073"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arthur_adams@murazik.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Celine Dietrich"], ["last_name", "Stanton Runte"], ["email", "arthur_adams@murazik.com"], ["password_digest", "$2a$04$i1XcxxDGR0Axm6vilpOSn.R6VLM7vPJRRAYujkuopTzduYF2B0fZO"], ["created_at", "2018-09-05 13:42:50.790502"], ["updated_at", "2018-09-05 13:42:50.790502"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cathy Christiansen"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (0.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Cathy Christiansen"], ["authorized_by", "Cammie Grimes"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 32], ["approved_by_id", 33], ["created_at", "2018-09-05 13:42:50.796766"], ["updated_at", "2018-09-05 13:42:50.796766"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Charlsie Wiza"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cristal Little"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Charlsie Wiza"], ["name", "Cristal Little"], ["created_at", "2018-09-05 13:42:50.803526"], ["updated_at", "2018-09-05 13:42:50.803526"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dewayne Howell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dewayne Howell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.808245"], ["updated_at", "2018-09-05 13:42:50.808245"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Violeta Hagenes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Violeta Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.813059"], ["updated_at", "2018-09-05 13:42:50.813059"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Maurice D'Amore"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maurice D'Amore"], ["name", "Raven Rosenbaum"], ["address", "Opal Daniel"], ["created_at", "2018-09-05 13:42:50.817892"], ["updated_at", "2018-09-05 13:42:50.817892"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Karoline Jacobs"], ["service_delivery_unit_id", 19], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Karoline Jacobs"], ["name", "Darrin Bosco"], ["service_type_id", 21], ["base_unit_id", 41], ["utilization_unit_id", 42], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 13:42:50.823191"], ["updated_at", "2018-09-05 13:42:50.823191"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Karoline Jacobs"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Karoline Jacobs"], ["name", "Darrin Bosco"], ["description", "Default bundle for service 'Darrin Bosco'"], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 13:42:50.828475"], ["updated_at", "2018-09-05 13:42:50.828475"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 20], ["chargeable_service_id", 20]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dedra Douglas"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jana Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dedra Douglas"], ["name", "Jana Goyette"], ["created_at", "2018-09-05 13:42:50.838127"], ["updated_at", "2018-09-05 13:42:50.838127"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Duncan Schamberger"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Duncan Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.842941"], ["updated_at", "2018-09-05 13:42:50.842941"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kallie Powlowski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kallie Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.847746"], ["updated_at", "2018-09-05 13:42:50.847746"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eladia Ledner"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eladia Ledner"], ["name", "Yer VonRueden"], ["address", "Althea Wilderman"], ["created_at", "2018-09-05 13:42:50.852947"], ["updated_at", "2018-09-05 13:42:50.852947"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Myrtice Klocko"], ["service_delivery_unit_id", 20], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Myrtice Klocko"], ["name", "Corinne Gleichner"], ["service_type_id", 22], ["base_unit_id", 43], ["utilization_unit_id", 44], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 13:42:50.857662"], ["updated_at", "2018-09-05 13:42:50.857662"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Myrtice Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Myrtice Klocko"], ["name", "Corinne Gleichner"], ["description", "Default bundle for service 'Corinne Gleichner'"], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 13:42:50.862697"], ["updated_at", "2018-09-05 13:42:50.862697"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 21], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Nicki Boehm"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Hipolito Kub"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicki Boehm"], ["name", "Hipolito Kub"], ["description", "Asperiores nam eligendi et enim illo eum et. Dolores velit dignissimos recusandae porro. Cum saepe consequatur nisi qui."], ["created_at", "2018-09-05 13:42:50.873518"], ["updated_at", "2018-09-05 13:42:50.873518"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Tonja Lindgren"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Marin Williamson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Tonja Lindgren"], ["name", "Marin Williamson"], ["description", "Officiis sint repellendus nemo voluptas ipsam. Similique libero veritatis earum reprehenderit occaecati dolorem sit. Dignissimos voluptatem sunt voluptatem aliquid est esse quam eum. Et sed explicabo voluptatem laudantium distinctio ut."], ["equipment_type_id", 9], ["created_at", "2018-09-05 13:42:50.879194"], ["updated_at", "2018-09-05 13:42:50.879194"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jennifer Grant"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jennifer Grant"], ["name", "Katheryn Balistreri"], ["description", "Tama Glover"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 13:42:50.883975"], ["updated_at", "2018-09-05 13:42:50.883975"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Shanae Wisozk"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Adelaide Schuster"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shanae Wisozk"], ["name", "Adelaide Schuster"], ["description", "Natisha Dooley"], ["created_at", "2018-09-05 13:42:50.890448"], ["updated_at", "2018-09-05 13:42:50.890448"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Alberta Reynolds"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Alberta Reynolds"], ["name", "Denis Huel"], ["location_type_id", 9], ["description", "Hildred Thiel"], ["address", "Tiesha Hirthe"], ["created_at", "2018-09-05 13:42:50.894868"], ["updated_at", "2018-09-05 13:42:50.894868"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Sydney Miller"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tori VonRueden"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Sydney Miller"], ["name", "Etta Weber"], ["description", "Cristen Murray"], ["serial_number", "Tori VonRueden"], ["brand", "Krysta Gleason"], ["item_model", "Jerilyn Huel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 13:42:50.900989"], ["updated_at", "2018-09-05 13:42:50.900989"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Janella Cassin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Courtney Rohan"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Janella Cassin"], ["name", "Courtney Rohan"], ["description", "Maxime accusamus aut autem voluptates. Similique laboriosam iste sit et eius ut est sequi. Dolor et recusandae expedita sunt ut laboriosam aut. Neque reiciendis provident earum deleniti nemo dolores soluta et."], ["created_at", "2018-09-05 13:42:50.908270"], ["updated_at", "2018-09-05 13:42:50.908270"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Jenelle Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ian Lind"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jenelle Hilpert"], ["name", "Ian Lind"], ["description", "Inventore rerum est quo expedita consequatur animi. Eveniet nam molestiae et sint ad. Temporibus in nobis nam similique."], ["equipment_type_id", 10], ["created_at", "2018-09-05 13:42:50.913798"], ["updated_at", "2018-09-05 13:42:50.913798"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sixta Mante"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sixta Mante"], ["name", "Inez Fahey"], ["description", "Casimira Glover"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 13:42:50.918288"], ["updated_at", "2018-09-05 13:42:50.918288"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Christian Will"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jennifer Cronin"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Christian Will"], ["name", "Jennifer Cronin"], ["description", "Forest Lynch"], ["created_at", "2018-09-05 13:42:50.924471"], ["updated_at", "2018-09-05 13:42:50.924471"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Simone Carroll"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Simone Carroll"], ["name", "Isaiah Yundt"], ["location_type_id", 10], ["description", "Gudrun Bergnaum"], ["address", "Paola Hagenes"], ["created_at", "2018-09-05 13:42:50.928949"], ["updated_at", "2018-09-05 13:42:50.928949"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Eleonore Hand"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Marci Parisian"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Eleonore Hand"], ["name", "Oliver Kuhlman"], ["description", "Hugo Brekke"], ["serial_number", "Marci Parisian"], ["brand", "Tiffiny Pfeffer"], ["item_model", "Marry Kuhic"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 13:42:50.934701"], ["updated_at", "2018-09-05 13:42:50.934701"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jasmin_yundt@windler.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Louise Legros"], ["last_name", "Betsey Gerlach"], ["email", "jasmin_yundt@windler.info"], ["password_digest", "$2a$04$.Xm15.6.DUzrVqOOdO8gouGPdCu1xDZWmr3wznFiMySjNAQ00XtBW"], ["created_at", "2018-09-05 13:42:50.941654"], ["updated_at", "2018-09-05 13:42:50.941654"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lashanda@harber.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Gertrude Wisoky"], ["last_name", "Clarice Hickle"], ["email", "lashanda@harber.ca"], ["password_digest", "$2a$04$NpyymlfIIGDEx.hudSC2cOeaQPY6gC79.hJAikxQ7W1CNDta52P9a"], ["created_at", "2018-09-05 13:42:50.948115"], ["updated_at", "2018-09-05 13:42:50.948115"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"35", "authorized_by"=>"Farrah Braun", "authorized_on"=>"2018-09-05", "created_by_id"=>"34", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"20", "chargeable_service_name"=>"Corinne Gleichner", "equipment_item_id"=>"9", "equipment_item_name"=>"Oliver Kuhlman", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}, "id"=>"7"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.2ms | ActiveRecord: 5.2ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "britt_jenkins@ward.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Yang Cummings"], ["last_name", "Lillie West"], ["email", "britt_jenkins@ward.name"], ["password_digest", "$2a$04$sngJ7X.EIxRi9ZdAEOjCBeuTw04GbF09XD46JokXqZVf589xiPXAy"], ["created_at", "2018-09-05 13:42:50.972686"], ["updated_at", "2018-09-05 13:42:50.972686"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mikaela Funk"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mikaela Funk"], ["name", "Cora Ebert"], ["address", "Kyoko Aufderhar"], ["created_at", "2018-09-05 13:42:50.981357"], ["updated_at", "2018-09-05 13:42:50.981357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elina Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Elina Bernhard"], ["name", "Larissa White"], ["description", "Gia Schmidt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 13:42:50.990316"], ["updated_at", "2018-09-05 13:42:50.990316"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.18ms) Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 3.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kasandra@volkman.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shoshana Greenholt"], ["last_name", "Lashell Collins"], ["email", "kasandra@volkman.com"], ["password_digest", "$2a$04$M.IEX3xZKeOlutW5ezM4fe3cK0pGVKmCFqkDttW5FyrSzIu26HPSe"], ["created_at", "2018-09-05 13:42:51.012757"], ["updated_at", "2018-09-05 13:42:51.012757"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Shirly Dibbert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shirly Dibbert"], ["name", "Cinda O'Reilly"], ["address", "Shaneka Marquardt"], ["created_at", "2018-09-05 13:42:51.017795"], ["updated_at", "2018-09-05 13:42:51.017795"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Amira Bogan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Amira Bogan"], ["name", "Clark Homenick"], ["description", "Jama Schaden"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.023543"], ["updated_at", "2018-09-05 13:42:51.023543"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tarsha Tremblay"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tarsha Tremblay"], ["name", "Vicente O'Reilly"], ["description", "Emilie Hodkiewicz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.030202"], ["updated_at", "2018-09-05 13:42:51.030202"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nick Toy"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nick Toy"], ["name", "Felecia Stamm"], ["description", "Janessa Goldner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.036517"], ["updated_at", "2018-09-05 13:42:51.036517"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 22]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.3ms) Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 4.4ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vernita_moen@tremblay.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Na Simonis"], ["last_name", "Terrell Beier"], ["email", "vernita_moen@tremblay.com"], ["password_digest", "$2a$04$HLD.riDIVoqh7VKsx8pyGOUlWFpJRrgTPFUt7Gd3PabEpaR1x.u6m"], ["created_at", "2018-09-05 13:42:51.058960"], ["updated_at", "2018-09-05 13:42:51.058960"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Windy Schmidt"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Windy Schmidt"], ["name", "Ofelia Roberts"], ["address", "Nadine Hyatt"], ["created_at", "2018-09-05 13:42:51.064243"], ["updated_at", "2018-09-05 13:42:51.064243"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Darcel Cremin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Darcel Cremin"], ["name", "Eileen Wintheiser"], ["description", "Iliana Kassulke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.072871"], ["updated_at", "2018-09-05 13:42:51.072871"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tami Kemmer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.4ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tami Kemmer"], ["name", "Karina Brakus"], ["description", "Lindsy Skiles"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.081177"], ["updated_at", "2018-09-05 13:42:51.081177"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Zoraida Gutmann"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Zoraida Gutmann"], ["name", "Donovan Hermann"], ["description", "Gilberte Moore"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.088378"], ["updated_at", "2018-09-05 13:42:51.088378"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Stephen Smith"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stephen Smith"], ["name", "Xzbdulia Price"], ["address", "Kevin Schaden"], ["created_at", "2018-09-05 13:42:51.093649"], ["updated_at", "2018-09-05 13:42:51.093649"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cornell Cummerata"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Cornell Cummerata"], ["name", "Mara Ritchie"], ["description", "Marlin Effertz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-09-05 13:42:51.100444"], ["updated_at", "2018-09-05 13:42:51.100444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Merideth O'Keefe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Merideth O'Keefe"], ["name", "Justine Moore"], ["address", "Zola Gaylord"], ["created_at", "2018-09-05 13:42:51.105401"], ["updated_at", "2018-09-05 13:42:51.105401"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Son Jast"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Son Jast"], ["name", "Barbie Braun"], ["description", "Jacalyn Krajcik"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 13:42:51.109819"], ["updated_at", "2018-09-05 13:42:51.109819"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Martine Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Martine Doyle"], ["name", "Natisha Russel"], ["address", "Mike Leuschke"], ["created_at", "2018-09-05 13:42:51.114809"], ["updated_at", "2018-09-05 13:42:51.114809"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Irina Farrell"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Irina Farrell"], ["name", "Adelaida Labadie"], ["description", "Farrah Walsh"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 13:42:51.118954"], ["updated_at", "2018-09-05 13:42:51.118954"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"23"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 23]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.5ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.21ms) Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 3.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "armand.rath@cormiercartwright.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Margy Abshire"], ["last_name", "Thu Klein"], ["email", "armand.rath@cormiercartwright.us"], ["password_digest", "$2a$04$cDXCwxyS0DelkxWTyptFA.XhkI5vmkKshMiRHN9Sgr0bSdcIERoA."], ["created_at", "2018-09-05 13:42:51.139965"], ["updated_at", "2018-09-05 13:42:51.139965"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Candelaria Ward"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Candelaria Ward"], ["name", "Marisa Raynor"], ["address", "Cecille Wolff"], ["created_at", "2018-09-05 13:42:51.147330"], ["updated_at", "2018-09-05 13:42:51.147330"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jeni Stracke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jeni Stracke"], ["name", "Julian Klocko"], ["description", "Marcelo Anderson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 13:42:51.152144"], ["updated_at", "2018-09-05 13:42:51.152144"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"32"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Auth::User Load (2.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.95ms) Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 4.4ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dalia@howegibson.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kirby Moen"], ["last_name", "Jordan Pfannerstill"], ["email", "dalia@howegibson.biz"], ["password_digest", "$2a$04$3aRFiwkGJJ86kAiEjZhRTeSbPWKOvVsdHT7OcdMSEJiaylXYwrGk6"], ["created_at", "2018-09-05 13:42:51.173885"], ["updated_at", "2018-09-05 13:42:51.173885"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Camila Satterfield"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Camila Satterfield"], ["name", "Tegan Powlowski"], ["address", "Clorinda Bergnaum"], ["created_at", "2018-09-05 13:42:51.180270"], ["updated_at", "2018-09-05 13:42:51.180270"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (7.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tawny Swaniawski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tawny Swaniawski"], ["name", "First Service Bundle"], ["description", "Lloyd Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 13:42:51.192357"], ["updated_at", "2018-09-05 13:42:51.192357"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ardith Schuppe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ardith Schuppe"], ["name", "Dessie Ritchie"], ["address", "Shon Tillman"], ["created_at", "2018-09-05 13:42:51.200466"], ["updated_at", "2018-09-05 13:42:51.200466"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donny Kilback"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Donny Kilback"], ["name", "Second Service Bundle"], ["description", "Jimmy Botsford"], ["percent_discount", 100.0], ["service_delivery_unit_id", 29], ["created_at", "2018-09-05 13:42:51.205704"], ["updated_at", "2018-09-05 13:42:51.205704"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.52ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 3.8ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%service%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.19ms) Completed 200 OK in 12ms (Views: 4.4ms | ActiveRecord: 10.0ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "gillian.collier@marvin.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Beatrice Cummerata"], ["last_name", "Willetta Wuckert"], ["email", "gillian.collier@marvin.ca"], ["password_digest", "$2a$04$IAgp6touBYa27Zvr7bWY2.oeBr2uTLk/uWg3nB7hXoEll4xIAyBOm"], ["created_at", "2018-09-05 13:42:51.241062"], ["updated_at", "2018-09-05 13:42:51.241062"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nguyet Kub"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nguyet Kub"], ["name", "Shaneka Braun"], ["address", "Albina Strosin"], ["created_at", "2018-09-05 13:42:51.246627"], ["updated_at", "2018-09-05 13:42:51.246627"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tish Hoppe"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tish Hoppe"], ["name", "FIRst Service Bundle"], ["description", "Glinda Langworth"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 13:42:51.251444"], ["updated_at", "2018-09-05 13:42:51.251444"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kari Batz"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kari Batz"], ["name", "Laurel Mosciski"], ["address", "Marleen Pouros"], ["created_at", "2018-09-05 13:42:51.258090"], ["updated_at", "2018-09-05 13:42:51.258090"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Delicia Emard"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Delicia Emard"], ["name", "Second Service Bundle for the firST time"], ["description", "Lyndon Paucek"], ["percent_discount", 100.0], ["service_delivery_unit_id", 31], ["created_at", "2018-09-05 13:42:51.268116"], ["updated_at", "2018-09-05 13:42:51.268116"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.5ms) Completed 200 OK in 11ms (Views: 4.1ms | ActiveRecord: 5.1ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "merrie@oreilly.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Berry Jenkins"], ["last_name", "Simona Hirthe"], ["email", "merrie@oreilly.name"], ["password_digest", "$2a$04$4eeoEnAZIzqPMZejMmqMI.OBg.MBKkQ2GgDincdBRyfVbL1GKG4Ya"], ["created_at", "2018-09-05 13:42:51.292909"], ["updated_at", "2018-09-05 13:42:51.292909"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Catherine Howe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Catherine Howe"], ["name", "Lilliam Gottlieb"], ["address", "Pilar Cummerata"], ["created_at", "2018-09-05 13:42:51.300176"], ["updated_at", "2018-09-05 13:42:51.300176"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Chana Hayes", "description"=>"Birgit Barrows", "name"=>"Alexander Bailey", "service_delivery_unit_id"=>"32"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chana Hayes"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Chana Hayes"], ["name", "Alexander Bailey"], ["description", "Birgit Barrows"], ["service_delivery_unit_id", 32], ["created_at", "2018-09-05 13:42:51.313070"], ["updated_at", "2018-09-05 13:42:51.313070"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 13ms (Views: 1.7ms | ActiveRecord: 6.5ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "horace@tremblay.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lon Hirthe"], ["last_name", "Kathlene Schowalter"], ["email", "horace@tremblay.ca"], ["password_digest", "$2a$04$lfFlnmwSENbL8S5tGn7RXec1cJL0EwcGRRHerOjgEdBVxUeUCjFtu"], ["created_at", "2018-09-05 13:42:51.327922"], ["updated_at", "2018-09-05 13:42:51.327922"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Shasta White"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shasta White"], ["name", "Tena Hackett"], ["address", "Joesph Schmitt"], ["created_at", "2018-09-05 13:42:51.335795"], ["updated_at", "2018-09-05 13:42:51.335795"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Fredrick Bednar", "description"=>"Moriah Mraz", "name"=>"Prudence Maggio", "service_delivery_unit_id"=>"33"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Fredrick Bednar"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Fredrick Bednar"], ["name", "Prudence Maggio"], ["description", "Moriah Mraz"], ["service_delivery_unit_id", 33], ["created_at", "2018-09-05 13:42:51.347172"], ["updated_at", "2018-09-05 13:42:51.347172"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.33ms) Completed 201 Created in 15ms (Views: 2.2ms | ActiveRecord: 7.3ms) Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "stevie_parker@considinebayer.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.6ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Warren Donnelly"], ["last_name", "Flavia Donnelly"], ["email", "stevie_parker@considinebayer.us"], ["password_digest", "$2a$04$V/ThJFCF4p94VFQqC7llcOfmsPOCrmrmnUXXr3NSxmAg5bzCjSC32"], ["created_at", "2018-09-05 13:42:51.366952"], ["updated_at", "2018-09-05 13:42:51.366952"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kacy Barton"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kacy Barton"], ["name", "Ma Eichmann"], ["address", "Ava Ruecker"], ["created_at", "2018-09-05 13:42:51.374583"], ["updated_at", "2018-09-05 13:42:51.374583"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Jeannie Kuvalis", "name"=>"Alleen Parker", "service_delivery_unit_id"=>"34"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 14ms (Views: 6.2ms | ActiveRecord: 4.5ms)  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "karri_kris@hayeskris.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Mona Wiegand"], ["last_name", "Izola Klocko"], ["email", "karri_kris@hayeskris.co.uk"], ["password_digest", "$2a$04$bupgHbq2mcoYMGlSlt.2le0s00A1ZM65p2ClbiJb2CFZlr.C9yN0y"], ["created_at", "2018-09-05 13:42:51.403534"], ["updated_at", "2018-09-05 13:42:51.403534"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Hiram Rohan"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hiram Rohan"], ["name", "Joshua Hodkiewicz"], ["address", "Laverna Beahan"], ["created_at", "2018-09-05 13:42:51.422515"], ["updated_at", "2018-09-05 13:42:51.422515"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Anjanette Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Anjanette Skiles"], ["name", "Ronnie Stanton"], ["description", "Polly Rosenbaum"], ["percent_discount", 100.0], ["service_delivery_unit_id", 35], ["created_at", "2018-09-05 13:42:51.430095"], ["updated_at", "2018-09-05 13:42:51.430095"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lesia Metz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Elnora Hartmann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lesia Metz"], ["name", "Elnora Hartmann"], ["created_at", "2018-09-05 13:42:51.436367"], ["updated_at", "2018-09-05 13:42:51.436367"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sixta Walsh"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sixta Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.441361"], ["updated_at", "2018-09-05 13:42:51.441361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lonny Champlin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lonny Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.445969"], ["updated_at", "2018-09-05 13:42:51.445969"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Felicidad Wiegand"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Felicidad Wiegand"], ["name", "Brandon Rowe"], ["address", "Clarine Huel"], ["created_at", "2018-09-05 13:42:51.450565"], ["updated_at", "2018-09-05 13:42:51.450565"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Ike Gleichner"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Ike Gleichner"], ["name", "Darryl Schumm"], ["service_type_id", 23], ["base_unit_id", 45], ["utilization_unit_id", 46], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 13:42:51.455349"], ["updated_at", "2018-09-05 13:42:51.455349"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ike Gleichner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Ike Gleichner"], ["name", "Darryl Schumm"], ["description", "Default bundle for service 'Darryl Schumm'"], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 13:42:51.460486"], ["updated_at", "2018-09-05 13:42:51.460486"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 40], ["chargeable_service_id", 22]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 39]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["22"], "id"=>"39"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 3.0ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "whitley@stroman.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Janina DuBuque"], ["last_name", "Anton Medhurst"], ["email", "whitley@stroman.biz"], ["password_digest", "$2a$04$Bp1AnvOJXDrv/vag/gm1fuDy7TvkwA6SuwSyrmi038J0fUL5fjmue"], ["created_at", "2018-09-05 13:42:51.492828"], ["updated_at", "2018-09-05 13:42:51.492828"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Meaghan Jakubowski"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Meaghan Jakubowski"], ["name", "Mike Rowe"], ["address", "Yan Jerde"], ["created_at", "2018-09-05 13:42:51.500491"], ["updated_at", "2018-09-05 13:42:51.500491"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lonny Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lonny Eichmann"], ["name", "Vida Osinski"], ["description", "Isaura Swaniawski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 37], ["created_at", "2018-09-05 13:42:51.505505"], ["updated_at", "2018-09-05 13:42:51.505505"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Angela Russel"}, "id"=>"41"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Lonny Eichmann"], ["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.3ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Angela Russel"], ["updated_at", "2018-09-05 13:42:51.518250"], ["id", 41]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 6.7ms) Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ashanti.hammes@okeefenitzsche.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Conrad Quitzon"], ["last_name", "Alyse Lowe"], ["email", "ashanti.hammes@okeefenitzsche.ca"], ["password_digest", "$2a$04$V9f9gz9vzRchwGCYPOwhbeGNg6fCc5A0IGhpPwgNe2nUad8WFCYGu"], ["created_at", "2018-09-05 13:42:51.533669"], ["updated_at", "2018-09-05 13:42:51.533669"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nguyet Koss"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nguyet Koss"], ["name", "Shanika Will"], ["address", "Roseanne Jacobi"], ["created_at", "2018-09-05 13:42:51.540195"], ["updated_at", "2018-09-05 13:42:51.540195"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Milagros Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Milagros Runolfsdottir"], ["name", "Lorenza Predovic"], ["description", "Lyndia Brakus"], ["percent_discount", 100.0], ["service_delivery_unit_id", 38], ["created_at", "2018-09-05 13:42:51.547960"], ["updated_at", "2018-09-05 13:42:51.547960"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Armando Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Armando Waelchi"], ["name", "Wendell Wehner"], ["address", "Zana Goodwin"], ["created_at", "2018-09-05 13:42:51.553219"], ["updated_at", "2018-09-05 13:42:51.553219"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Griselda Schaden", "description"=>"Raleigh Murazik", "name"=>"Annis Spencer", "service_delivery_unit_id"=>"39"}, "id"=>"42"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Griselda Schaden"], ["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.1ms) UPDATE "mks_rate_service_bundles" SET "code" = $1, "name" = $2, "description" = $3, "service_delivery_unit_id" = $4, "updated_at" = $5 WHERE "mks_rate_service_bundles"."id" = $6 [["code", "Griselda Schaden"], ["name", "Annis Spencer"], ["description", "Raleigh Murazik"], ["service_delivery_unit_id", 39], ["updated_at", "2018-09-05 13:42:51.564723"], ["id", 42]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.29ms) Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 6.3ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "mary_ward@kling.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Velvet Abernathy"], ["last_name", "Leola Kulas"], ["email", "mary_ward@kling.com"], ["password_digest", "$2a$04$b5PoAj3s0r0RPXCDlFc9aeaQj6tN2oUlKl8UJmYrIXdGVvJYtxDde"], ["created_at", "2018-09-05 13:42:51.577692"], ["updated_at", "2018-09-05 13:42:51.577692"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kaye Spencer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kaye Spencer"], ["name", "Eleonore Kling"], ["address", "Mazie Bednar"], ["created_at", "2018-09-05 13:42:51.583422"], ["updated_at", "2018-09-05 13:42:51.583422"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nila Ankunding"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.6ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nila Ankunding"], ["name", "Genny Reilly"], ["description", "Amiee Haley"], ["percent_discount", 100.0], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 13:42:51.591215"], ["updated_at", "2018-09-05 13:42:51.591215"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chere Breitenberg"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chere Breitenberg"], ["name", "Karena Crona"], ["address", "Latoyia Schumm"], ["created_at", "2018-09-05 13:42:51.598020"], ["updated_at", "2018-09-05 13:42:51.598020"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Lauryn Kessler", "name"=>"Gisele Cronin", "service_delivery_unit_id"=>"41"}, "id"=>"43"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", ""], ["id", 43], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.13ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.3ms | ActiveRecord: 6.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shantel@swiftwhite.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Renate Prosacco"], ["last_name", "Fabiola Lockman"], ["email", "shantel@swiftwhite.info"], ["password_digest", "$2a$04$0IOp.0y6RfGRcIu.CX6p4uCwlLTM/TcJ.QtsgKJD9IJz9.rGxeJn6"], ["created_at", "2018-09-05 13:42:51.623331"], ["updated_at", "2018-09-05 13:42:51.623331"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Wenona Borer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Wenona Borer"], ["name", "Ashli Ullrich"], ["address", "Judson Rempel"], ["created_at", "2018-09-05 13:42:51.629327"], ["updated_at", "2018-09-05 13:42:51.629327"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Stacy Macejkovic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stacy Macejkovic"], ["name", "Ali Schowalter"], ["address", "Mickey Gorczany"], ["created_at", "2018-09-05 13:42:51.634752"], ["updated_at", "2018-09-05 13:42:51.634752"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Xuan Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Xuan Moen"], ["name", "Jeremy Bins"], ["address", "Evie Crist"], ["created_at", "2018-09-05 13:42:51.641014"], ["updated_at", "2018-09-05 13:42:51.641014"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceDeliveryUnit::ActiveRecord_Relation (0.61ms) Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 2.5ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lennie_huels@farrell.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Drema Hansen"], ["last_name", "Shelba Turner"], ["email", "lennie_huels@farrell.us"], ["password_digest", "$2a$04$83q/mTmLBi5F1hAijGxJnucbL3oJjzSpT11MpF4lWM2OvcW.3gVLC"], ["created_at", "2018-09-05 13:42:51.666066"], ["updated_at", "2018-09-05 13:42:51.666066"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Louanne Cassin", "code"=>"Carissa Bosco", "name"=>"Gwen Parker"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carissa Bosco"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carissa Bosco"], ["name", "Gwen Parker"], ["address", "Louanne Cassin"], ["created_at", "2018-09-05 13:42:51.675644"], ["updated_at", "2018-09-05 13:42:51.675644"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.36ms) Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 5.1ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jolie_prohaska@tillman.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lala Ebert"], ["last_name", "Laveta Predovic"], ["email", "jolie_prohaska@tillman.ca"], ["password_digest", "$2a$04$U6IYa8uM0sNoV22p0XCpx.Doq5.NsW/0AUMdF.knX83hNLhwUTPF2"], ["created_at", "2018-09-05 13:42:51.696143"], ["updated_at", "2018-09-05 13:42:51.696143"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Keneth Howell", "code"=>"Deb Parker", "name"=>"Stephania Schuppe"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Deb Parker"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Deb Parker"], ["name", "Stephania Schuppe"], ["address", "Keneth Howell"], ["created_at", "2018-09-05 13:42:51.705204"], ["updated_at", "2018-09-05 13:42:51.705204"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.18ms) Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.53ms) Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 6.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "season@klockojacobi.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Viva Wolf"], ["last_name", "Dawne Watsica"], ["email", "season@klockojacobi.name"], ["password_digest", "$2a$04$SqjYqD0pSgbgnRTMsrANCeAfMWAOo1qP6tkK75MTrV/DBSm.77ZVy"], ["created_at", "2018-09-05 13:42:51.722403"], ["updated_at", "2018-09-05 13:42:51.722403"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Cecil Botsford", "code"=>"", "name"=>"Myrtice Hamill"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "angella.mante@ziemann.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elvera Leffler"], ["last_name", "Josefine Gislason"], ["email", "angella.mante@ziemann.info"], ["password_digest", "$2a$04$Pawg7n/QvAX0kkp5COhiZOjRZaX26J8tRns/YU2PffiG42HZaAQka"], ["created_at", "2018-09-05 13:42:51.749506"], ["updated_at", "2018-09-05 13:42:51.749506"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mohammad Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mohammad Ebert"], ["name", "Argentina Rolfson"], ["address", "Ima Paucek"], ["created_at", "2018-09-05 13:42:51.757015"], ["updated_at", "2018-09-05 13:42:51.757015"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"47"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Mohammad Ebert"], ["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (1.0ms) UPDATE "mks_rate_service_delivery_units" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_delivery_units"."id" = $3 [["name", "Service delivery unit 1"], ["updated_at", "2018-09-05 13:42:51.768458"], ["id", 47]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.11ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 6.0ms) Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marcel@willms.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Donna Hyatt"], ["last_name", "Cornell McCullough"], ["email", "marcel@willms.us"], ["password_digest", "$2a$04$DFuw3ewY5IX2tgl.v8hjH./OGKgs8F8v.U1oF51Fb9ZPZkpElG6Ea"], ["created_at", "2018-09-05 13:42:51.783559"], ["updated_at", "2018-09-05 13:42:51.783559"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Juliann Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Juliann Lesch"], ["name", "Sindy Cronin"], ["address", "Shona Boyer"], ["created_at", "2018-09-05 13:42:51.791342"], ["updated_at", "2018-09-05 13:42:51.791342"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"} Mks::Auth::User Load (2.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Juliann Lesch"], ["id", 48], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 17ms (Views: 1.7ms | ActiveRecord: 8.2ms)  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "evan@kunde.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Anne Dicki"], ["last_name", "Ophelia Witting"], ["email", "evan@kunde.ca"], ["password_digest", "$2a$04$irfu669vEgu5fojO0DHrdepUNE40MgwsPtSl3kG2KdjxFBsZlGyPu"], ["created_at", "2018-09-05 13:42:51.825330"], ["updated_at", "2018-09-05 13:42:51.825330"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Emilia Rippin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Georgeanna Thompson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emilia Rippin"], ["name", "Georgeanna Thompson"], ["description", "Reprehenderit eaque minus et possimus perferendis ut sit itaque. Rem debitis voluptas quis dicta quia et ut. Aut autem adipisci dignissimos voluptas qui ea. Excepturi voluptas quisquam harum commodi ducimus et iure."], ["created_at", "2018-09-05 13:42:51.853615"], ["updated_at", "2018-09-05 13:42:51.853615"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Nena Smitham"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Genny Leuschke"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Nena Smitham"], ["name", "Genny Leuschke"], ["description", "Voluptatem dolores deserunt culpa soluta nemo velit. Aspernatur reiciendis repudiandae sit atque aut accusamus. Possimus aut eius minima alias harum in nemo quos."], ["equipment_type_id", 11], ["created_at", "2018-09-05 13:42:51.860420"], ["updated_at", "2018-09-05 13:42:51.860420"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jewel Muller"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jewel Muller"], ["name", "Jefferey Hane"], ["description", "Jannie Stehr"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 11], ["created_at", "2018-09-05 13:42:51.865614"], ["updated_at", "2018-09-05 13:42:51.865614"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Lenore Gulgowski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Elke Hirthe"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lenore Gulgowski"], ["name", "Elke Hirthe"], ["description", "Natashia Hackett"], ["created_at", "2018-09-05 13:42:51.872439"], ["updated_at", "2018-09-05 13:42:51.872439"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Eda Goyette"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Eda Goyette"], ["name", "Thanh Maggio"], ["location_type_id", 11], ["description", "Alissa Maggio"], ["address", "Grady Marks"], ["created_at", "2018-09-05 13:42:51.877165"], ["updated_at", "2018-09-05 13:42:51.877165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jerrell Schamberger"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Luann Brown"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Jerrell Schamberger"], ["name", "Allyn Casper"], ["description", "Jacqueline Gerhold"], ["serial_number", "Luann Brown"], ["brand", "Carson Greenholt"], ["item_model", "Angila Thompson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 11], ["current_location_id", 11], ["created_at", "2018-09-05 13:42:51.883670"], ["updated_at", "2018-09-05 13:42:51.883670"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gaye Bogan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Becki Rippin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gaye Bogan"], ["name", "Becki Rippin"], ["created_at", "2018-09-05 13:42:51.893163"], ["updated_at", "2018-09-05 13:42:51.893163"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sharie Weissnat"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharie Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.898043"], ["updated_at", "2018-09-05 13:42:51.898043"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Roselle Wunsch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roselle Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.902439"], ["updated_at", "2018-09-05 13:42:51.902439"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tenisha Nienow"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tenisha Nienow"], ["name", "Michelina Blick"], ["address", "Audry Herman"], ["created_at", "2018-09-05 13:42:51.906832"], ["updated_at", "2018-09-05 13:42:51.906832"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Beverley Langosh"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Beverley Langosh"], ["name", "Ashly Erdman"], ["service_type_id", 24], ["base_unit_id", 47], ["utilization_unit_id", 48], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 13:42:51.911618"], ["updated_at", "2018-09-05 13:42:51.911618"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Beverley Langosh"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Beverley Langosh"], ["name", "Ashly Erdman"], ["description", "Default bundle for service 'Ashly Erdman'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 13:42:51.916806"], ["updated_at", "2018-09-05 13:42:51.916806"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 44], ["chargeable_service_id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.7ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 23], ["equipment_item_id", 11], ["created_at", "2018-09-05 13:42:51.924866"], ["updated_at", "2018-09-05 13:42:51.924866"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Clemencia Mertz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Glenna Hahn"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Clemencia Mertz"], ["name", "Glenna Hahn"], ["description", "Sit tenetur ducimus voluptatem iusto aperiam quia et. Sint et eos quae hic quo ut neque. Fugit reiciendis consequatur ipsa corporis molestiae omnis quae. Dolore aperiam expedita recusandae nihil nobis porro sit. Sed eligendi dignissimos quia minus et facilis laudantium mollitia."], ["created_at", "2018-09-05 13:42:51.933674"], ["updated_at", "2018-09-05 13:42:51.933674"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Misha Bartell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Darcie Heathcote"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Misha Bartell"], ["name", "Darcie Heathcote"], ["description", "Dolores facere magnam aliquam et. Autem nihil laboriosam possimus et. Saepe animi mollitia esse provident eos temporibus earum. Eos fugit libero optio repudiandae quae. Quo eum et voluptates iusto."], ["equipment_type_id", 12], ["created_at", "2018-09-05 13:42:51.938962"], ["updated_at", "2018-09-05 13:42:51.938962"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chanelle McLaughlin"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Chanelle McLaughlin"], ["name", "Bambi Quigley"], ["description", "Janell Schroeder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 12], ["created_at", "2018-09-05 13:42:51.943517"], ["updated_at", "2018-09-05 13:42:51.943517"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Gregoria Johnson"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Rosalinda Willms"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gregoria Johnson"], ["name", "Rosalinda Willms"], ["description", "Will Wyman"], ["created_at", "2018-09-05 13:42:51.949725"], ["updated_at", "2018-09-05 13:42:51.949725"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Aleta Kunde"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.7ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Aleta Kunde"], ["name", "Mervin Bernier"], ["location_type_id", 12], ["description", "Haley Jewess"], ["address", "Sook Kreiger"], ["created_at", "2018-09-05 13:42:51.953813"], ["updated_at", "2018-09-05 13:42:51.953813"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Wade Ward"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lenita Ullrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Wade Ward"], ["name", "Lesley Hackett"], ["description", "Florentina Bartell"], ["serial_number", "Lenita Ullrich"], ["brand", "Leda Wiegand"], ["item_model", "Kenia Satterfield"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 12], ["current_location_id", 12], ["created_at", "2018-09-05 13:42:51.959522"], ["updated_at", "2018-09-05 13:42:51.959522"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leighann Langworth"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Latesha Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leighann Langworth"], ["name", "Latesha Waelchi"], ["created_at", "2018-09-05 13:42:51.966424"], ["updated_at", "2018-09-05 13:42:51.966424"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Shalon Wolf"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shalon Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.971440"], ["updated_at", "2018-09-05 13:42:51.971440"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Holly Daniel"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Holly Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.976065"], ["updated_at", "2018-09-05 13:42:51.976065"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chery Bruen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chery Bruen"], ["name", "Gudrun VonRueden"], ["address", "Rupert Weimann"], ["created_at", "2018-09-05 13:42:51.980944"], ["updated_at", "2018-09-05 13:42:51.980944"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Stormy Walker"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Stormy Walker"], ["name", "Donovan Beatty"], ["service_type_id", 25], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 13:42:51.985676"], ["updated_at", "2018-09-05 13:42:51.985676"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Stormy Walker"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Stormy Walker"], ["name", "Donovan Beatty"], ["description", "Default bundle for service 'Donovan Beatty'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 13:42:51.990911"], ["updated_at", "2018-09-05 13:42:51.990911"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 24], ["equipment_item_id", 12], ["created_at", "2018-09-05 13:42:51.997272"], ["updated_at", "2018-09-05 13:42:51.997272"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Ellie Romaguera"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Jami Legros"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ellie Romaguera"], ["name", "Jami Legros"], ["description", "Mollitia non accusamus voluptatum sunt. Magnam vero sed repudiandae deleniti. Placeat beatae consequatur minus ipsa."], ["created_at", "2018-09-05 13:42:52.004763"], ["updated_at", "2018-09-05 13:42:52.004763"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Andrew Feil"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Marc Spinka"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Andrew Feil"], ["name", "Marc Spinka"], ["description", "Quo quis ad sit amet odit. Iusto ut nam doloribus eos et. Odio sequi voluptatem dolores aut ratione libero."], ["equipment_type_id", 13], ["created_at", "2018-09-05 13:42:52.010237"], ["updated_at", "2018-09-05 13:42:52.010237"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chanelle Jerde"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Chanelle Jerde"], ["name", "Chere Wuckert"], ["description", "Jamey Lang"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 13], ["created_at", "2018-09-05 13:42:52.015048"], ["updated_at", "2018-09-05 13:42:52.015048"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Johnna Wiegand"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Julianne Renner"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Johnna Wiegand"], ["name", "Julianne Renner"], ["description", "Vincenzo Purdy"], ["created_at", "2018-09-05 13:42:52.021835"], ["updated_at", "2018-09-05 13:42:52.021835"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Henry Murray"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Henry Murray"], ["name", "Mercedes Dietrich"], ["location_type_id", 13], ["description", "Daniel Hackett"], ["address", "Roselle Nicolas"], ["created_at", "2018-09-05 13:42:52.026953"], ["updated_at", "2018-09-05 13:42:52.026953"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Buffy Wyman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Justa Gulgowski"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.8ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Buffy Wyman"], ["name", "Yan Nitzsche"], ["description", "Dreama Blick"], ["serial_number", "Justa Gulgowski"], ["brand", "Jonell Koss"], ["item_model", "Shanta Yundt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 13], ["current_location_id", 13], ["created_at", "2018-09-05 13:42:52.032952"], ["updated_at", "2018-09-05 13:42:52.032952"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Awilda McLaughlin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eden VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Awilda McLaughlin"], ["name", "Eden VonRueden"], ["created_at", "2018-09-05 13:42:52.040269"], ["updated_at", "2018-09-05 13:42:52.040269"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ned Funk"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ned Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.045412"], ["updated_at", "2018-09-05 13:42:52.045412"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Delphine D'Amore"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delphine D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.050349"], ["updated_at", "2018-09-05 13:42:52.050349"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nohemi Price"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nohemi Price"], ["name", "Mikki Bartell"], ["address", "Gabrielle Bernier"], ["created_at", "2018-09-05 13:42:52.055307"], ["updated_at", "2018-09-05 13:42:52.055307"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Elia Thompson"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Elia Thompson"], ["name", "Hana Kuhlman"], ["service_type_id", 26], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 13:42:52.060030"], ["updated_at", "2018-09-05 13:42:52.060030"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elia Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Elia Thompson"], ["name", "Hana Kuhlman"], ["description", "Default bundle for service 'Hana Kuhlman'"], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 13:42:52.065672"], ["updated_at", "2018-09-05 13:42:52.065672"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 25]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 25], ["equipment_item_id", 13], ["created_at", "2018-09-05 13:42:52.072174"], ["updated_at", "2018-09-05 13:42:52.072174"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.11ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.38ms) Completed 200 OK in 21ms (Views: 1.6ms | ActiveRecord: 8.6ms)  (1.3ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lauralee.doyle@beahanpagac.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Corene Hansen"], ["last_name", "Thomasena Hintz"], ["email", "lauralee.doyle@beahanpagac.info"], ["password_digest", "$2a$04$8s.bqsP3pSSlx5f/.xY2kuvTC3W.niOK4N/j1wcLwaK5c87IMI.4."], ["created_at", "2018-09-05 13:42:52.106979"], ["updated_at", "2018-09-05 13:42:52.106979"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Maple Bins"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ardelia Schinner"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maple Bins"], ["name", "Ardelia Schinner"], ["description", "Aperiam officiis sed accusantium ipsa eum fugiat. Aut molestiae rem possimus et dignissimos dolor. Et veritatis voluptatem nostrum provident blanditiis."], ["created_at", "2018-09-05 13:42:52.115546"], ["updated_at", "2018-09-05 13:42:52.115546"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kevin McGlynn"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Edwina Luettgen"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.1ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kevin McGlynn"], ["name", "Edwina Luettgen"], ["description", "Consectetur eum dolor ea dicta. Qui nam a non similique deserunt sunt et. Eligendi ducimus veritatis rerum quidem. Qui laboriosam nihil soluta a neque est nisi incidunt. Adipisci reprehenderit id voluptas repellat dignissimos."], ["equipment_type_id", 14], ["created_at", "2018-09-05 13:42:52.121048"], ["updated_at", "2018-09-05 13:42:52.121048"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Aleshia O'Conner"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.2ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Aleshia O'Conner"], ["name", "Shavonda Barton"], ["description", "Mose Upton"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 14], ["created_at", "2018-09-05 13:42:52.128190"], ["updated_at", "2018-09-05 13:42:52.128190"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Elizabet Bashirian"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jettie Collins"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elizabet Bashirian"], ["name", "Jettie Collins"], ["description", "Anjanette Wilkinson"], ["created_at", "2018-09-05 13:42:52.135154"], ["updated_at", "2018-09-05 13:42:52.135154"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Carita Stoltenberg"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carita Stoltenberg"], ["name", "Dede Bernier"], ["location_type_id", 14], ["description", "Elmer Hirthe"], ["address", "Santos Reynolds"], ["created_at", "2018-09-05 13:42:52.139615"], ["updated_at", "2018-09-05 13:42:52.139615"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jamika Stoltenberg"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Wilford Lind"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Jamika Stoltenberg"], ["name", "Tilda Bruen"], ["description", "Tisha Huel"], ["serial_number", "Wilford Lind"], ["brand", "Maryanna Bode"], ["item_model", "Ami Wunsch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 14], ["current_location_id", 14], ["created_at", "2018-09-05 13:42:52.145330"], ["updated_at", "2018-09-05 13:42:52.145330"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shiela Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ji O'Kon"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shiela Thompson"], ["name", "Ji O'Kon"], ["created_at", "2018-09-05 13:42:52.152620"], ["updated_at", "2018-09-05 13:42:52.152620"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Pinkie Wisozk"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pinkie Wisozk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.157987"], ["updated_at", "2018-09-05 13:42:52.157987"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Nigel Ernser"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nigel Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.162878"], ["updated_at", "2018-09-05 13:42:52.162878"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dann Johns"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dann Johns"], ["name", "Lucien Labadie"], ["address", "Elias Lubowitz"], ["created_at", "2018-09-05 13:42:52.167652"], ["updated_at", "2018-09-05 13:42:52.167652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Rex Koelpin"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Rex Koelpin"], ["name", "Clarita Schuppe"], ["service_type_id", 27], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 13:42:52.172555"], ["updated_at", "2018-09-05 13:42:52.172555"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rex Koelpin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Rex Koelpin"], ["name", "Clarita Schuppe"], ["description", "Default bundle for service 'Clarita Schuppe'"], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 13:42:52.177558"], ["updated_at", "2018-09-05 13:42:52.177558"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 26]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 26], ["equipment_item_id", 14], ["created_at", "2018-09-05 13:42:52.184095"], ["updated_at", "2018-09-05 13:42:52.184095"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Kelly Purdy"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gladys Cummings"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kelly Purdy"], ["name", "Gladys Cummings"], ["description", "Assumenda aliquam architecto qui omnis ut. Consectetur omnis facilis recusandae est expedita sit qui. Fugit ipsum corrupti est earum doloribus. Sint qui sed maxime non laborum consectetur."], ["created_at", "2018-09-05 13:42:52.192118"], ["updated_at", "2018-09-05 13:42:52.192118"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gwyneth Larson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Bertram Gleason"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gwyneth Larson"], ["name", "Bertram Gleason"], ["description", "Et reprehenderit adipisci dignissimos nobis. Occaecati perspiciatis sunt accusamus aliquid ex. Est at nulla soluta modi numquam eius neque quae."], ["equipment_type_id", 15], ["created_at", "2018-09-05 13:42:52.197758"], ["updated_at", "2018-09-05 13:42:52.197758"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Zula Senger"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Zula Senger"], ["name", "Concepcion Hodkiewicz"], ["description", "Rafaela Jaskolski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 15], ["created_at", "2018-09-05 13:42:52.202419"], ["updated_at", "2018-09-05 13:42:52.202419"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Lavelle Mann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Denisha Littel"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lavelle Mann"], ["name", "Denisha Littel"], ["description", "Brian Graham"], ["created_at", "2018-09-05 13:42:52.208764"], ["updated_at", "2018-09-05 13:42:52.208764"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Gilberto Aufderhar"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Gilberto Aufderhar"], ["name", "Sharmaine Kiehn"], ["location_type_id", 15], ["description", "Katia Beahan"], ["address", "Bruna Grant"], ["created_at", "2018-09-05 13:42:52.213413"], ["updated_at", "2018-09-05 13:42:52.213413"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Tiesha Christiansen"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Summer Spencer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Tiesha Christiansen"], ["name", "Santina Nader"], ["description", "Wendie Lynch"], ["serial_number", "Summer Spencer"], ["brand", "Etta McDermott"], ["item_model", "Naida Muller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 15], ["current_location_id", 15], ["created_at", "2018-09-05 13:42:52.219623"], ["updated_at", "2018-09-05 13:42:52.219623"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Vincenzo Herzog"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Dyan Dibbert"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vincenzo Herzog"], ["name", "Dyan Dibbert"], ["created_at", "2018-09-05 13:42:52.226305"], ["updated_at", "2018-09-05 13:42:52.226305"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rob Stokes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rob Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.232192"], ["updated_at", "2018-09-05 13:42:52.232192"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Brianna Conroy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brianna Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.240434"], ["updated_at", "2018-09-05 13:42:52.240434"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dominica VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dominica VonRueden"], ["name", "Doreatha Jerde"], ["address", "Owen Marvin"], ["created_at", "2018-09-05 13:42:52.245658"], ["updated_at", "2018-09-05 13:42:52.245658"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Marshall Monahan"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Marshall Monahan"], ["name", "Lyle Ledner"], ["service_type_id", 28], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 13:42:52.250838"], ["updated_at", "2018-09-05 13:42:52.250838"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marshall Monahan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Marshall Monahan"], ["name", "Lyle Ledner"], ["description", "Default bundle for service 'Lyle Ledner'"], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 13:42:52.255801"], ["updated_at", "2018-09-05 13:42:52.255801"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 27]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 27], ["equipment_item_id", 15], ["created_at", "2018-09-05 13:42:52.262117"], ["updated_at", "2018-09-05 13:42:52.262117"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Arla Boyle"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Myrl Buckridge"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arla Boyle"], ["name", "Myrl Buckridge"], ["description", "Nesciunt omnis perferendis fugiat veniam et. Magni quam soluta voluptates hic rerum. Nihil eius excepturi eum quod. Nihil qui non eos possimus iusto natus. Quisquam qui rerum id aspernatur necessitatibus quia quod."], ["created_at", "2018-09-05 13:42:52.269792"], ["updated_at", "2018-09-05 13:42:52.269792"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Charmain Kohler"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Zelma Mayer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Charmain Kohler"], ["name", "Zelma Mayer"], ["description", "Id et ipsum vel sed non dolore quae. Quas ipsa doloremque non voluptas voluptatem facere. Odio laborum qui sapiente itaque consequatur est commodi."], ["equipment_type_id", 16], ["created_at", "2018-09-05 13:42:52.275892"], ["updated_at", "2018-09-05 13:42:52.275892"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lola Hessel"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lola Hessel"], ["name", "Rickie Murray"], ["description", "Kacy Pfeffer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 16], ["created_at", "2018-09-05 13:42:52.280775"], ["updated_at", "2018-09-05 13:42:52.280775"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Titus Rosenbaum"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Fred Gleichner"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Titus Rosenbaum"], ["name", "Fred Gleichner"], ["description", "Melissia Schroeder"], ["created_at", "2018-09-05 13:42:52.287146"], ["updated_at", "2018-09-05 13:42:52.287146"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Sun Harvey"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sun Harvey"], ["name", "Allan Spencer"], ["location_type_id", 16], ["description", "Marty Rodriguez"], ["address", "Arletta Howell"], ["created_at", "2018-09-05 13:42:52.294920"], ["updated_at", "2018-09-05 13:42:52.294920"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Camilla Bahringer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Scarlett Stroman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Camilla Bahringer"], ["name", "Lawanda Goodwin"], ["description", "Kenna Hoeger"], ["serial_number", "Scarlett Stroman"], ["brand", "Mathew Rippin"], ["item_model", "Evelyne Feest"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 16], ["current_location_id", 16], ["created_at", "2018-09-05 13:42:52.301972"], ["updated_at", "2018-09-05 13:42:52.301972"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Deloris White"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Helena Jones"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deloris White"], ["name", "Helena Jones"], ["created_at", "2018-09-05 13:42:52.309817"], ["updated_at", "2018-09-05 13:42:52.309817"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Darius Paucek"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darius Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.315787"], ["updated_at", "2018-09-05 13:42:52.315787"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Derick Hartmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Derick Hartmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.321150"], ["updated_at", "2018-09-05 13:42:52.321150"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Yaeko Beahan"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yaeko Beahan"], ["name", "Dona Fay"], ["address", "Arturo Kunze"], ["created_at", "2018-09-05 13:42:52.326032"], ["updated_at", "2018-09-05 13:42:52.326032"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Leigha Schinner"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.6ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Leigha Schinner"], ["name", "Phuong Auer"], ["service_type_id", 29], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 13:42:52.331364"], ["updated_at", "2018-09-05 13:42:52.331364"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leigha Schinner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Leigha Schinner"], ["name", "Phuong Auer"], ["description", "Default bundle for service 'Phuong Auer'"], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 13:42:52.338817"], ["updated_at", "2018-09-05 13:42:52.338817"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 28]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.2ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 28], ["equipment_item_id", 16], ["created_at", "2018-09-05 13:42:52.346457"], ["updated_at", "2018-09-05 13:42:52.346457"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.9ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.49ms) Completed 200 OK in 21ms (Views: 9.0ms | ActiveRecord: 8.8ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tiffany.kuhlman@streichmcclure.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Daysi Casper"], ["last_name", "Zofia Hahn"], ["email", "tiffany.kuhlman@streichmcclure.info"], ["password_digest", "$2a$04$t6S/mMy2oE8zOXo1E0joK.BzHrGvpzMoWF5VQ.Q8T25Q06Rs1I6KW"], ["created_at", "2018-09-05 13:42:52.379269"], ["updated_at", "2018-09-05 13:42:52.379269"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Laverna Shanahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Myrl Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Laverna Shanahan"], ["name", "Myrl Bernhard"], ["created_at", "2018-09-05 13:42:52.387285"], ["updated_at", "2018-09-05 13:42:52.387285"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceType::ActiveRecord_Relation (0.27ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 2.2ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lamar.goldner@rodriguez.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Iluminada Cormier"], ["last_name", "China Bradtke"], ["email", "lamar.goldner@rodriguez.info"], ["password_digest", "$2a$04$xfP9DZOaHSDuTz8cpDq3JuvGUtlMrUQEZ4wDnvtsE9pnz8UqFrwda"], ["created_at", "2018-09-05 13:42:52.410777"], ["updated_at", "2018-09-05 13:42:52.410777"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Anibal Corkery"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Amber Cremin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Anibal Corkery"], ["name", "Amber Cremin"], ["created_at", "2018-09-05 13:42:52.417038"], ["updated_at", "2018-09-05 13:42:52.417038"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"31"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.41ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 2.0ms)  (0.8ms) ROLLBACK  (1.0ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "janina@hyattabbott.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Eloise Ebert"], ["last_name", "Karl Harber"], ["email", "janina@hyattabbott.co.uk"], ["password_digest", "$2a$04$C9ZtGGE/vMb00YqoxhPFluNukWkJPDKDyqcbEDc2GJQnGiHGhfVl6"], ["created_at", "2018-09-05 13:42:52.435638"], ["updated_at", "2018-09-05 13:42:52.435638"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lola Haag", "name"=>"Eden Fisher"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lola Haag"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eden Fisher"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lola Haag"], ["name", "Eden Fisher"], ["created_at", "2018-09-05 13:42:52.449234"], ["updated_at", "2018-09-05 13:42:52.449234"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.44ms) Completed 201 Created in 13ms (Views: 3.0ms | ActiveRecord: 5.8ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lieselotte_harris@rowe.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bettyann Hills"], ["last_name", "Merle Keeling"], ["email", "lieselotte_harris@rowe.info"], ["password_digest", "$2a$04$mt3ys/itdf2lTk8.5Gv8ROLoN2HXMIn0jlCvytHZ7/4gKZyeUqRyy"], ["created_at", "2018-09-05 13:42:52.467718"], ["updated_at", "2018-09-05 13:42:52.467718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lona Mann", "name"=>"Ronald Daugherty"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lona Mann"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ronald Daugherty"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lona Mann"], ["name", "Ronald Daugherty"], ["created_at", "2018-09-05 13:42:52.478186"], ["updated_at", "2018-09-05 13:42:52.478186"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 201 Created in 13ms (Views: 1.7ms | ActiveRecord: 6.2ms) Mks::Rate::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "stuart@wunschbrakus.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Loren Wunsch"], ["last_name", "Sherie Welch"], ["email", "stuart@wunschbrakus.info"], ["password_digest", "$2a$04$SZk9KPB1dkIh/uPba2H4eeC0PpicFglM7.GA0wgUNbAu7Ak4lvkzS"], ["created_at", "2018-09-05 13:42:52.496445"], ["updated_at", "2018-09-05 13:42:52.496445"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Chet Hirthe"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chet Hirthe"], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "gena.lehner@gibson.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Tari Lehner"], ["last_name", "Gracie Abshire"], ["email", "gena.lehner@gibson.biz"], ["password_digest", "$2a$04$xZYFvqSTK4JH56DHbguEyuMrG3lLIOHNmXG6uauCpcai..eYXOI9q"], ["created_at", "2018-09-05 13:42:52.521676"], ["updated_at", "2018-09-05 13:42:52.521676"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jamey Greenfelder"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Edwin Corwin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jamey Greenfelder"], ["name", "Edwin Corwin"], ["created_at", "2018-09-05 13:42:52.530779"], ["updated_at", "2018-09-05 13:42:52.530779"]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Augustus Stark"}, "id"=>"34"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Jamey Greenfelder"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Augustus Stark"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.9ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Augustus Stark"], ["updated_at", "2018-09-05 13:42:52.547236"], ["id", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.31ms) Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 6.9ms) Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "margert@roobschmeler.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Michael Morissette"], ["last_name", "Alysia Rogahn"], ["email", "margert@roobschmeler.us"], ["password_digest", "$2a$04$mNp3k0kU3wLovO6VXOjcaO/dxIb3okDHr/QwA5WdfEmpQzZoUmNmO"], ["created_at", "2018-09-05 13:42:52.561615"], ["updated_at", "2018-09-05 13:42:52.561615"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Idella Luettgen"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nila Armstrong"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Idella Luettgen"], ["name", "Nila Armstrong"], ["created_at", "2018-09-05 13:42:52.569703"], ["updated_at", "2018-09-05 13:42:52.569703"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Rosita Deckow", "name"=>"Gaylord Larson"}, "id"=>"35"} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Rosita Deckow"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Gaylord Larson"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.9ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Rosita Deckow"], ["name", "Gaylord Larson"], ["updated_at", "2018-09-05 13:42:52.583048"], ["id", 35]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 6.3ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "brianna_schmidt@cassin.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Sharyn Larson"], ["last_name", "Ela Zieme"], ["email", "brianna_schmidt@cassin.info"], ["password_digest", "$2a$04$VgksaDzXbj4fYX0t5Y72husG4opO5o5pp5axg.rKYJJS6pxCye2dy"], ["created_at", "2018-09-05 13:42:52.596576"], ["updated_at", "2018-09-05 13:42:52.596576"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Casey Stokes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nicolle Goldner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Casey Stokes"], ["name", "Nicolle Goldner"], ["created_at", "2018-09-05 13:42:52.604897"], ["updated_at", "2018-09-05 13:42:52.604897"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Corey Pacocha"}, "id"=>"36"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Corey Pacocha"], ["id", 36], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.3ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "deon_kihn@oreillymonahan.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Albina McDermott"], ["last_name", "Eleanora Maggio"], ["email", "deon_kihn@oreillymonahan.ca"], ["password_digest", "$2a$04$uavTe0ibNOnUEvHO9qxa5eCsLcJAypGB0P3zweQEwlU/cCv.4yFFi"], ["created_at", "2018-09-05 13:42:52.627566"], ["updated_at", "2018-09-05 13:42:52.627566"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rico Wunsch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rico Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.633068"], ["updated_at", "2018-09-05 13:42:52.633068"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Calandra Ankunding"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Calandra Ankunding"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.638282"], ["updated_at", "2018-09-05 13:42:52.638282"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jaime Pacocha"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jaime Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.644242"], ["updated_at", "2018-09-05 13:42:52.644242"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#index as HTML Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] No serializer found for resource: #"float", "day"=>"float"}, created_at: "2018-09-05 13:42:52", updated_at: "2018-09-05 13:42:52"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.32ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.49ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Arnetta Sauer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lila Keeling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arnetta Sauer"], ["name", "Lila Keeling"], ["created_at", "2018-09-05 13:42:52.670748"], ["updated_at", "2018-09-05 13:42:52.670748"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mikaela Howe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mikaela Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.675735"], ["updated_at", "2018-09-05 13:42:52.675735"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Bert Ortiz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bert Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.681054"], ["updated_at", "2018-09-05 13:42:52.681054"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Winford Steuber"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Winford Steuber"], ["name", "Layne Graham"], ["address", "Geri Aufderhar"], ["created_at", "2018-09-05 13:42:52.687301"], ["updated_at", "2018-09-05 13:42:52.687301"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Branda Wiza"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Branda Wiza"], ["name", "Jamee West"], ["service_type_id", 37], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 13:42:52.696736"], ["updated_at", "2018-09-05 13:42:52.696736"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Branda Wiza"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Branda Wiza"], ["name", "Jamee West"], ["description", "Default bundle for service 'Jamee West'"], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 13:42:52.701957"], ["updated_at", "2018-09-05 13:42:52.701957"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 50], ["chargeable_service_id", 29]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Branda Wiza"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Marci Roob"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nella Weimann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marci Roob"], ["name", "Nella Weimann"], ["created_at", "2018-09-05 13:42:52.717422"], ["updated_at", "2018-09-05 13:42:52.717422"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Brittney Reilly"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brittney Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.722185"], ["updated_at", "2018-09-05 13:42:52.722185"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Yee Batz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yee Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.726811"], ["updated_at", "2018-09-05 13:42:52.726811"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sanford Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sanford Erdman"], ["name", "Kendrick Kautzer"], ["address", "Joselyn Little"], ["created_at", "2018-09-05 13:42:52.732421"], ["updated_at", "2018-09-05 13:42:52.732421"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 56], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Roxane Leannon"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Althea Kshlerin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Roxane Leannon"], ["name", "Althea Kshlerin"], ["created_at", "2018-09-05 13:42:52.747527"], ["updated_at", "2018-09-05 13:42:52.747527"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lanelle Metz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lanelle Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.752910"], ["updated_at", "2018-09-05 13:42:52.752910"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Annemarie Stiedemann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Annemarie Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.759165"], ["updated_at", "2018-09-05 13:42:52.759165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Velva Paucek"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Velva Paucek"], ["name", "Sharolyn Moore"], ["address", "Freddy Muller"], ["created_at", "2018-09-05 13:42:52.766117"], ["updated_at", "2018-09-05 13:42:52.766117"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Tona Ferry"], ["service_delivery_unit_id", 57], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Miguelina Renner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tama Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Miguelina Renner"], ["name", "Tama Zemlak"], ["created_at", "2018-09-05 13:42:52.778998"], ["updated_at", "2018-09-05 13:42:52.778998"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jamel Shields"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jamel Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.785987"], ["updated_at", "2018-09-05 13:42:52.785987"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Bradley O'Reilly"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bradley O'Reilly"], ["name", "Veda Wolff"], ["address", "Kim Weimann"], ["created_at", "2018-09-05 13:42:52.793135"], ["updated_at", "2018-09-05 13:42:52.793135"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Ivan Stehr"], ["service_delivery_unit_id", 58], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kelle Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Aurelio Schinner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelle Erdman"], ["name", "Aurelio Schinner"], ["created_at", "2018-09-05 13:42:52.806184"], ["updated_at", "2018-09-05 13:42:52.806184"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marylou Morissette"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marylou Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.813249"], ["updated_at", "2018-09-05 13:42:52.813249"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Londa Mraz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Londa Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.818203"], ["updated_at", "2018-09-05 13:42:52.818203"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" IS NULL LIMIT $2 [["code", "Giuseppe Blick"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Terica Herman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lexie Moen"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Terica Herman"], ["name", "Lexie Moen"], ["created_at", "2018-09-05 13:42:52.833352"], ["updated_at", "2018-09-05 13:42:52.833352"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Weldon Ondricka"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Weldon Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.843278"], ["updated_at", "2018-09-05 13:42:52.843278"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jeremy O'Keefe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeremy O'Keefe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.850309"], ["updated_at", "2018-09-05 13:42:52.850309"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Imelda Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Imelda Maggio"], ["name", "Jeffry Rau"], ["address", "Yuette D'Amore"], ["created_at", "2018-09-05 13:42:52.856498"], ["updated_at", "2018-09-05 13:42:52.856498"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Linette Moore"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Linette Moore"], ["name", "Roselia Cartwright"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 13:42:52.861917"], ["updated_at", "2018-09-05 13:42:52.861917"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Linette Moore"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Linette Moore"], ["name", "Roselia Cartwright"], ["description", "Default bundle for service 'Roselia Cartwright'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 13:42:52.867300"], ["updated_at", "2018-09-05 13:42:52.867300"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 51], ["chargeable_service_id", 30]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kathaleen Boyle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Candis Hand"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kathaleen Boyle"], ["name", "Candis Hand"], ["created_at", "2018-09-05 13:42:52.875968"], ["updated_at", "2018-09-05 13:42:52.875968"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Judie Gislason"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Judie Gislason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.880592"], ["updated_at", "2018-09-05 13:42:52.880592"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jerrica Weissnat"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jerrica Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.885116"], ["updated_at", "2018-09-05 13:42:52.885116"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Linette Moore"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aiko Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shu Swift"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Aiko Hoeger"], ["name", "Shu Swift"], ["created_at", "2018-09-05 13:42:52.898548"], ["updated_at", "2018-09-05 13:42:52.898548"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oralee Okuneva"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oralee Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.905045"], ["updated_at", "2018-09-05 13:42:52.905045"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Elisha Wintheiser"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elisha Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.911380"], ["updated_at", "2018-09-05 13:42:52.911380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Charlsie Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Charlsie Eichmann"], ["name", "Fausto Bode"], ["address", "Cornelia Jewess"], ["created_at", "2018-09-05 13:42:52.916334"], ["updated_at", "2018-09-05 13:42:52.916334"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lynn Halvorson"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lynn Halvorson"], ["name", "Meg Hilpert"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 13:42:52.921281"], ["updated_at", "2018-09-05 13:42:52.921281"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lynn Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lynn Halvorson"], ["name", "Meg Hilpert"], ["description", "Default bundle for service 'Meg Hilpert'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 13:42:52.926463"], ["updated_at", "2018-09-05 13:42:52.926463"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 52], ["chargeable_service_id", 31]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 52]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marya.goldner@lueilwitzkilback.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rosie Wisoky"], ["last_name", "Marybelle Torphy"], ["email", "marya.goldner@lueilwitzkilback.ca"], ["password_digest", "$2a$04$JajZ3e4tfFqhNp0DqU.U9OcV4LWpfNjBchaWpg0cyyeC6vUDai8hy"], ["created_at", "2018-09-05 13:42:52.945860"], ["updated_at", "2018-09-05 13:42:52.945860"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "zena@oconner.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Barrett Crist"], ["last_name", "Kassie Nitzsche"], ["email", "zena@oconner.ca"], ["password_digest", "$2a$04$RgOrTZE0G15mOE1zFsv3K.S7MFN90PwNQoXU4wgS9HDeSw0TrhORK"], ["created_at", "2018-09-05 13:42:52.955084"], ["updated_at", "2018-09-05 13:42:52.955084"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Sima Kuhic"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.2ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Sima Kuhic"], ["authorized_by", "Armando Wisoky"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 66], ["approved_by_id", 67], ["created_at", "2018-09-05 13:42:52.961817"], ["updated_at", "2018-09-05 13:42:52.961817"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Sima Kuhic"], ["id", 8], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cindi@satterfield.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Wayne Pacocha"], ["last_name", "Pauline Zemlak"], ["email", "cindi@satterfield.co.uk"], ["password_digest", "$2a$04$63M.EF2gaIaPwuTRSUt.d.Ljd0cu4CJQ4XYAUgUnE0Psmd.pcYICi"], ["created_at", "2018-09-05 13:42:52.974643"], ["updated_at", "2018-09-05 13:42:52.974643"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cesar_stamm@prohaska.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Angelika Green"], ["last_name", "Carlene Bartell"], ["email", "cesar_stamm@prohaska.ca"], ["password_digest", "$2a$04$SicnUcXicCoEOeOmv9kTSONL1NMnp6w4dMIYrx1CE7V4vs2yEtUo6"], ["created_at", "2018-09-05 13:42:52.981105"], ["updated_at", "2018-09-05 13:42:52.981105"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Ivana Rau"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "fernando_russel@considinegoyette.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Eugene Gerlach"], ["last_name", "Tennille Buckridge"], ["email", "fernando_russel@considinegoyette.ca"], ["password_digest", "$2a$04$98zTOdvjCur7OGkdfzlDiuiKY8EgPRtBnUsct9jntPhW5154Vlh6S"], ["created_at", "2018-09-05 13:42:52.993817"], ["updated_at", "2018-09-05 13:42:52.993817"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hyon@trantowkris.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bernice Macejkovic"], ["last_name", "Britt Gutkowski"], ["email", "hyon@trantowkris.com"], ["password_digest", "$2a$04$PVTL6P.N3sdhxJiFBZFiSe.CUatx61WVudvUs2sXNQtcfeBqt9SPW"], ["created_at", "2018-09-05 13:42:53.001307"], ["updated_at", "2018-09-05 13:42:53.001307"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hobert@miller.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Isabelle Hamill"], ["last_name", "Roxy Harris"], ["email", "hobert@miller.biz"], ["password_digest", "$2a$04$SgUGycyjo0HoGNnjl9Qk4u3eIM7onux7bvFm6p01BbuVyIlrPWFgW"], ["created_at", "2018-09-05 13:42:53.015099"], ["updated_at", "2018-09-05 13:42:53.015099"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "zoila@krajciknolan.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Daria Gerlach"], ["last_name", "Brigette Ratke"], ["email", "zoila@krajciknolan.info"], ["password_digest", "$2a$04$J9ZukYsCpDuccsUB5B87NeC.6eyl29IvCZ/FDd1zv0IvrSH.5GmDm"], ["created_at", "2018-09-05 13:42:53.024349"], ["updated_at", "2018-09-05 13:42:53.024349"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Floy Haag"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Floy Haag"], ["authorized_by", "Sanford Torp"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 72], ["approved_by_id", 73], ["created_at", "2018-09-05 13:42:53.030227"], ["updated_at", "2018-09-05 13:42:53.030227"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "heath.mayer@barrows.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Simon Kling"], ["last_name", "Avelina Tillman"], ["email", "heath.mayer@barrows.co.uk"], ["password_digest", "$2a$04$kN046nrmvE5eom0cCUusn.Hca5sbq6eZmRTla/Dlnxl8HkJJMynXW"], ["created_at", "2018-09-05 13:42:53.037944"], ["updated_at", "2018-09-05 13:42:53.037944"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "isabel_kerluke@legrosnienow.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Tommie Wisozk"], ["last_name", "Daron DuBuque"], ["email", "isabel_kerluke@legrosnienow.com"], ["password_digest", "$2a$04$1Aqk9IizyiGdaqCpNX65Iui9X.SOn3qDxgCGXDLtdy2s4o7ukvbTi"], ["created_at", "2018-09-05 13:42:53.044663"], ["updated_at", "2018-09-05 13:42:53.044663"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Floy Haag"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "pearly@spencer.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "John Stehr"], ["last_name", "Stan McDermott"], ["email", "pearly@spencer.co.uk"], ["password_digest", "$2a$04$c33DgWSWw84XB8hEijjbsOJTL/7C2TliBdibuLU5dxhcZ9WD2kyuC"], ["created_at", "2018-09-05 13:42:53.057726"], ["updated_at", "2018-09-05 13:42:53.057726"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "nevada_morissette@dooleypfannerstill.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Madlyn Fahey"], ["last_name", "Freeman Pfeffer"], ["email", "nevada_morissette@dooleypfannerstill.us"], ["password_digest", "$2a$04$av3QwRYT2sEQJqh4CyCyDezDAvTI2WoyofViRA0blQUrexB8.yrI2"], ["created_at", "2018-09-05 13:42:53.066414"], ["updated_at", "2018-09-05 13:42:53.066414"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Trent Veum"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "claude@kilbackoreilly.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Celesta Boyer"], ["last_name", "Eda Legros"], ["email", "claude@kilbackoreilly.biz"], ["password_digest", "$2a$04$tIaYbrtf9vPBGBKcSRq7u.9vTWkexNtA6bV0hvBQZ3iXxY63JutaW"], ["created_at", "2018-09-05 13:42:53.081947"], ["updated_at", "2018-09-05 13:42:53.081947"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "augustine_brown@schneider.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Carlyn Haag"], ["last_name", "Lovetta Runolfsson"], ["email", "augustine_brown@schneider.ca"], ["password_digest", "$2a$04$Mv.FmW.DCHS6CoIuNgWOFuOl5ISSBhIzf.Bu0iD225EunvOwMBKmW"], ["created_at", "2018-09-05 13:42:53.089540"], ["updated_at", "2018-09-05 13:42:53.089540"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Marita Pfeffer"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "rhett@haneskiles.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jin Heller"], ["last_name", "Irina O'Connell"], ["email", "rhett@haneskiles.name"], ["password_digest", "$2a$04$WAu0rM9dLkSAm5UVIS/AZ.uON9mI0t91LbRh.A5OzjY07dhdHcBFS"], ["created_at", "2018-09-05 13:42:53.103263"], ["updated_at", "2018-09-05 13:42:53.103263"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "joe@mcglynnbauch.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alejandro Emard"], ["last_name", "Leo Harvey"], ["email", "joe@mcglynnbauch.info"], ["password_digest", "$2a$04$Gw0f.tdb6fV0JHgt1fx94OrwtKCS1/AJVhnKRRcyyDj9xl9z4g9nW"], ["created_at", "2018-09-05 13:42:53.112219"], ["updated_at", "2018-09-05 13:42:53.112219"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cassidy Haag"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ella_schaden@wehner.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Latashia Kohler"], ["last_name", "Willetta Jakubowski"], ["email", "ella_schaden@wehner.com"], ["password_digest", "$2a$04$L04.Jnmmc0/DtQ6pLb0NUOfhX8zwUF9PM0c.M7o9u4RdMwFFNPFue"], ["created_at", "2018-09-05 13:42:53.127345"], ["updated_at", "2018-09-05 13:42:53.127345"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "willetta_blanda@harris.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Malisa Klocko"], ["last_name", "Jonah Hartmann"], ["email", "willetta_blanda@harris.biz"], ["password_digest", "$2a$04$J4ojsWWNbvsoc/chDOcbdeh9M4hp92KJkq.kDE7ghe9vJ0qD0q//2"], ["created_at", "2018-09-05 13:42:53.135272"], ["updated_at", "2018-09-05 13:42:53.135272"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Carolin Nicolas"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jovan.armstrong@morissette.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Micheal Crooks"], ["last_name", "Ara Dach"], ["email", "jovan.armstrong@morissette.biz"], ["password_digest", "$2a$04$.oQK9I9RxwjM5k1uJYXwgeKTY/RfpVUzhSnyhwoW31Gr5cqTHzPHC"], ["created_at", "2018-09-05 13:42:53.150357"], ["updated_at", "2018-09-05 13:42:53.150357"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Trena Conroy"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.6ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Trena Conroy"], ["authorized_by", "Tarah Jast"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 84], ["created_at", "2018-09-05 13:42:53.155745"], ["updated_at", "2018-09-05 13:42:53.155745"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Trena Conroy"], ["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Luisa Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Luisa Predovic"], ["name", "Estela Lakin"], ["address", "Cindie Greenholt"], ["created_at", "2018-09-05 13:42:53.169021"], ["updated_at", "2018-09-05 13:42:53.169021"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Miguel Heathcote"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Miguel Heathcote"], ["name", "Jenice Reichert"], ["description", "Vernie Kautzer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 13:42:53.176477"], ["updated_at", "2018-09-05 13:42:53.176477"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Miguel Heathcote"], ["id", 53], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dusti Wisozk"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dusti Wisozk"], ["name", "Klara Klein"], ["address", "Magnolia Wehner"], ["created_at", "2018-09-05 13:42:53.190054"], ["updated_at", "2018-09-05 13:42:53.190054"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cordia Graham"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cordia Graham"], ["name", "Jamison Lynch"], ["address", "Kourtney McClure"], ["created_at", "2018-09-05 13:42:53.200368"], ["updated_at", "2018-09-05 13:42:53.200368"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nelda Hand"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sharleen Howell"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sharleen Howell"], ["name", "Rochel Vandervort"], ["address", "Robby Wintheiser"], ["created_at", "2018-09-05 13:42:53.212322"], ["updated_at", "2018-09-05 13:42:53.212322"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leif Bailey"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Edris Haag"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Edris Haag"], ["name", "Bella Schultz"], ["address", "Anastacia Paucek"], ["created_at", "2018-09-05 13:42:53.224922"], ["updated_at", "2018-09-05 13:42:53.224922"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Curtis Huel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Curtis Huel"], ["name", "Chery O'Keefe"], ["description", "Kirby Stoltenberg"], ["percent_discount", 100.0], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 13:42:53.231508"], ["updated_at", "2018-09-05 13:42:53.231508"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Britta Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Britta Moen"], ["name", "Donnie Carter"], ["address", "Dee Denesik"], ["created_at", "2018-09-05 13:42:53.238395"], ["updated_at", "2018-09-05 13:42:53.238395"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Curtis Huel"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dale Marvin"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dale Marvin"], ["name", "Rosann Kling"], ["address", "Dorothy Fay"], ["created_at", "2018-09-05 13:42:53.249943"], ["updated_at", "2018-09-05 13:42:53.249943"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Dale Marvin"], ["id", 67], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Amiee Larkin"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Taisha Pfeffer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Taisha Pfeffer"], ["name", "Ervin Rutherford"], ["address", "Boyce Runolfsson"], ["created_at", "2018-09-05 13:42:53.273864"], ["updated_at", "2018-09-05 13:42:53.273864"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Taisha Pfeffer"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Earline Murray"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Maura Blanda"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Earline Murray"], ["name", "Maura Blanda"], ["description", "Voluptatem non porro nemo qui pariatur. Omnis rerum qui aut provident molestiae. Dicta ipsum laboriosam et veniam veritatis iusto."], ["created_at", "2018-09-05 13:42:53.290333"], ["updated_at", "2018-09-05 13:42:53.290333"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Jody Mitchell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Harmony Swaniawski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.3ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jody Mitchell"], ["name", "Harmony Swaniawski"], ["description", "Ut perspiciatis repudiandae quas provident qui unde. Sequi quos omnis est itaque perferendis aut occaecati. Aliquid placeat culpa quae quo ut sed non. Et occaecati error dolorum a porro fuga qui. Cum debitis provident officiis eveniet aut ratione repudiandae."], ["equipment_type_id", 17], ["created_at", "2018-09-05 13:42:53.298432"], ["updated_at", "2018-09-05 13:42:53.298432"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Katheryn Fadel"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Katheryn Fadel"], ["name", "Wendolyn Hayes"], ["description", "Sharda Dicki"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 17], ["created_at", "2018-09-05 13:42:53.306452"], ["updated_at", "2018-09-05 13:42:53.306452"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Denis Hegmann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jayme Casper"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Denis Hegmann"], ["name", "Jayme Casper"], ["description", "Leona Ryan"], ["created_at", "2018-09-05 13:42:53.314527"], ["updated_at", "2018-09-05 13:42:53.314527"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marylin Tremblay"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Marylin Tremblay"], ["name", "Lezlie Ondricka"], ["location_type_id", 17], ["description", "Hester Lebsack"], ["address", "Peter Hammes"], ["created_at", "2018-09-05 13:42:53.319357"], ["updated_at", "2018-09-05 13:42:53.319357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Milford Kerluke"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Millard Kutch"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Milford Kerluke"], ["name", "Valene Boyer"], ["description", "Lindsy Russel"], ["serial_number", "Millard Kutch"], ["brand", "Joye Dickinson"], ["item_model", "Diamond Tremblay"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 17], ["current_location_id", 17], ["created_at", "2018-09-05 13:42:53.325823"], ["updated_at", "2018-09-05 13:42:53.325823"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kareen Gleichner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Santa Shields"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kareen Gleichner"], ["name", "Santa Shields"], ["created_at", "2018-09-05 13:42:53.332589"], ["updated_at", "2018-09-05 13:42:53.332589"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Courtney Hermann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Courtney Hermann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.337756"], ["updated_at", "2018-09-05 13:42:53.337756"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Patty Keeling"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Patty Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.342828"], ["updated_at", "2018-09-05 13:42:53.342828"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sharyn Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sharyn Bernhard"], ["name", "Inocencia Rau"], ["address", "Ray Kihn"], ["created_at", "2018-09-05 13:42:53.347715"], ["updated_at", "2018-09-05 13:42:53.347715"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharita Friesen"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharita Friesen"], ["name", "Salvador Hackett"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 13:42:53.352589"], ["updated_at", "2018-09-05 13:42:53.352589"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 69], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharita Friesen"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharita Friesen"], ["name", "Salvador Hackett"], ["description", "Default bundle for service 'Salvador Hackett'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 13:42:53.358064"], ["updated_at", "2018-09-05 13:42:53.358064"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 55], ["chargeable_service_id", 32]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.2ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 32], ["equipment_item_id", 17], ["created_at", "2018-09-05 13:42:53.365311"], ["updated_at", "2018-09-05 13:42:53.365311"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Verla Ruecker"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Fleta Raynor"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.3ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Verla Ruecker"], ["name", "Fleta Raynor"], ["description", "Quis quibusdam eveniet omnis deleniti voluptatibus et. Vel sequi eum ut blanditiis tempora. Itaque alias dolorum quisquam ut. Enim dolores accusantium nostrum numquam."], ["created_at", "2018-09-05 13:42:53.377416"], ["updated_at", "2018-09-05 13:42:53.377416"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Brent Nikolaus"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Wonda Ritchie"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Brent Nikolaus"], ["name", "Wonda Ritchie"], ["description", "Dolores excepturi ea illum eveniet. Numquam necessitatibus amet minima ut repudiandae cum aut. Qui eos aut ut sequi. Ut quidem iste aut culpa id quia provident qui."], ["equipment_type_id", 18], ["created_at", "2018-09-05 13:42:53.385659"], ["updated_at", "2018-09-05 13:42:53.385659"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jennifer Weissnat"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jennifer Weissnat"], ["name", "Adolph Schmeler"], ["description", "Deedee Terry"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 18], ["created_at", "2018-09-05 13:42:53.393314"], ["updated_at", "2018-09-05 13:42:53.393314"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Reynaldo Mertz"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Clarice Herman"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Reynaldo Mertz"], ["name", "Clarice Herman"], ["description", "Hue Wyman"], ["created_at", "2018-09-05 13:42:53.400956"], ["updated_at", "2018-09-05 13:42:53.400956"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Slyvia Prohaska"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Slyvia Prohaska"], ["name", "Shonna Jaskolski"], ["location_type_id", 18], ["description", "Christopher Jacobson"], ["address", "Stefani Anderson"], ["created_at", "2018-09-05 13:42:53.407464"], ["updated_at", "2018-09-05 13:42:53.407464"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Liberty Fay"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Leonard Robel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Liberty Fay"], ["name", "Miyoko Luettgen"], ["description", "Penny Murphy"], ["serial_number", "Leonard Robel"], ["brand", "Newton Carroll"], ["item_model", "Mariko Schiller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 18], ["current_location_id", 18], ["created_at", "2018-09-05 13:42:53.413927"], ["updated_at", "2018-09-05 13:42:53.413927"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Noemi Friesen"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mui Shanahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Noemi Friesen"], ["name", "Mui Shanahan"], ["created_at", "2018-09-05 13:42:53.421296"], ["updated_at", "2018-09-05 13:42:53.421296"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Elmira Hartmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elmira Hartmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.426859"], ["updated_at", "2018-09-05 13:42:53.426859"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Edgardo Kihn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Edgardo Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.432928"], ["updated_at", "2018-09-05 13:42:53.432928"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dennis Vandervort"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dennis Vandervort"], ["name", "Darby Ankunding"], ["address", "Clemente Hansen"], ["created_at", "2018-09-05 13:42:53.439101"], ["updated_at", "2018-09-05 13:42:53.439101"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Cliff Parisian"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Cliff Parisian"], ["name", "Maggie Moen"], ["service_type_id", 46], ["base_unit_id", 79], ["utilization_unit_id", 80], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 13:42:53.444613"], ["updated_at", "2018-09-05 13:42:53.444613"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cliff Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Cliff Parisian"], ["name", "Maggie Moen"], ["description", "Default bundle for service 'Maggie Moen'"], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 13:42:53.450017"], ["updated_at", "2018-09-05 13:42:53.450017"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 33]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Micheal Lebsack"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gertie Will"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Micheal Lebsack"], ["name", "Gertie Will"], ["description", "Odit facilis quia quas ea. Autem voluptas mollitia aut blanditiis culpa ullam. Unde cum ut dolores illum. Pariatur aut enim tenetur et. Vel est voluptatem consequatur optio autem."], ["created_at", "2018-09-05 13:42:53.465093"], ["updated_at", "2018-09-05 13:42:53.465093"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gloria Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Benny Turcotte"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gloria Hilpert"], ["name", "Benny Turcotte"], ["description", "Eum non rerum voluptatem est. Atque officiis corrupti quae aut earum. Alias praesentium cupiditate et delectus aut rem repellendus error. Facilis ex aut eos sit ea. Id maxime sit repellat quos consectetur totam et debitis."], ["equipment_type_id", 19], ["created_at", "2018-09-05 13:42:53.470948"], ["updated_at", "2018-09-05 13:42:53.470948"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Boyd Hartmann"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Boyd Hartmann"], ["name", "Cedric Hansen"], ["description", "Bethanie Corkery"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 19], ["created_at", "2018-09-05 13:42:53.475277"], ["updated_at", "2018-09-05 13:42:53.475277"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Byron Hayes"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Tamela Morar"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.4ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Byron Hayes"], ["name", "Tamela Morar"], ["description", "Aiko Haag"], ["created_at", "2018-09-05 13:42:53.483728"], ["updated_at", "2018-09-05 13:42:53.483728"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Hanh Effertz"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.5ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Hanh Effertz"], ["name", "David Kulas"], ["location_type_id", 19], ["description", "Many Kautzer"], ["address", "Anisha Kshlerin"], ["created_at", "2018-09-05 13:42:53.490941"], ["updated_at", "2018-09-05 13:42:53.490941"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Thaddeus Conroy"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Heide Marquardt"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Thaddeus Conroy"], ["name", "Mechelle Bode"], ["description", "Marlon Flatley"], ["serial_number", "Heide Marquardt"], ["brand", "Leoma Nolan"], ["item_model", "Hubert DuBuque"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 19], ["current_location_id", 19], ["created_at", "2018-09-05 13:42:53.497672"], ["updated_at", "2018-09-05 13:42:53.497672"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kelly Hickle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Latonya Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelly Hickle"], ["name", "Latonya Ebert"], ["created_at", "2018-09-05 13:42:53.504582"], ["updated_at", "2018-09-05 13:42:53.504582"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rod Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rod Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.509494"], ["updated_at", "2018-09-05 13:42:53.509494"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Evelynn Hermiston"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelynn Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.514618"], ["updated_at", "2018-09-05 13:42:53.514618"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Brittaney Jewess"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brittaney Jewess"], ["name", "Ileen Tremblay"], ["address", "Del Heller"], ["created_at", "2018-09-05 13:42:53.519589"], ["updated_at", "2018-09-05 13:42:53.519589"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Coralee Doyle"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Coralee Doyle"], ["name", "Elana Wuckert"], ["service_type_id", 47], ["base_unit_id", 81], ["utilization_unit_id", 82], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 13:42:53.524361"], ["updated_at", "2018-09-05 13:42:53.524361"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 71], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Coralee Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Coralee Doyle"], ["name", "Elana Wuckert"], ["description", "Default bundle for service 'Elana Wuckert'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 13:42:53.529508"], ["updated_at", "2018-09-05 13:42:53.529508"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 57], ["chargeable_service_id", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Shanice Lakin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Corinna Raynor"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shanice Lakin"], ["name", "Corinna Raynor"], ["description", "Et ut facilis dolor sed distinctio fuga blanditiis. Et exercitationem error totam ut recusandae. Vitae odio perferendis molestiae et tempore quidem."], ["created_at", "2018-09-05 13:42:53.544163"], ["updated_at", "2018-09-05 13:42:53.544163"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Taren Thompson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Rolf Veum"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.1ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Taren Thompson"], ["name", "Rolf Veum"], ["description", "Et rem itaque nihil neque. Iste ea quibusdam enim temporibus commodi et. Aut non vel ab illo doloribus nobis aut quas."], ["equipment_type_id", 20], ["created_at", "2018-09-05 13:42:53.550910"], ["updated_at", "2018-09-05 13:42:53.550910"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Tracey Lueilwitz"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tracey Lueilwitz"], ["name", "Aurelia Schmidt"], ["description", "Lilliana Larkin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 20], ["created_at", "2018-09-05 13:42:53.557306"], ["updated_at", "2018-09-05 13:42:53.557306"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Carlota Doyle"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Cyril Mueller"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carlota Doyle"], ["name", "Cyril Mueller"], ["description", "Abe Feil"], ["created_at", "2018-09-05 13:42:53.565839"], ["updated_at", "2018-09-05 13:42:53.565839"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Debbi Mosciski"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Debbi Mosciski"], ["name", "Inga Terry"], ["location_type_id", 20], ["description", "Kellye Wyman"], ["address", "Stefany Kuvalis"], ["created_at", "2018-09-05 13:42:53.570882"], ["updated_at", "2018-09-05 13:42:53.570882"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Vella Larkin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Maryalice Crona"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Vella Larkin"], ["name", "Suk Kirlin"], ["description", "Chan Pollich"], ["serial_number", "Maryalice Crona"], ["brand", "Omar O'Reilly"], ["item_model", "Justine Mann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 20], ["current_location_id", 20], ["created_at", "2018-09-05 13:42:53.576667"], ["updated_at", "2018-09-05 13:42:53.576667"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ione Bernier"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Olin Beer"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ione Bernier"], ["name", "Olin Beer"], ["created_at", "2018-09-05 13:42:53.588015"], ["updated_at", "2018-09-05 13:42:53.588015"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Ione Bernier"], ["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Olin Beer"], ["id", 48], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.1ms) BEGIN Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" IS NULL LIMIT $1 [["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Romeo Erdman"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jaimie Runolfsson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sallie Schulist"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Norma Farrell"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sallie Schulist"], ["name", "Norma Farrell"], ["created_at", "2018-09-05 13:42:53.618567"], ["updated_at", "2018-09-05 13:42:53.618567"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sallie Schulist"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ty Beer"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Danelle Smith"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Delphia Legros"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Danelle Smith"], ["name", "Delphia Legros"], ["created_at", "2018-09-05 13:42:53.637437"], ["updated_at", "2018-09-05 13:42:53.637437"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Marna Wilkinson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Delphia Legros"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Evelin Haag"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Wai Feeney"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hobert Hodkiewicz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hobert Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.670062"], ["updated_at", "2018-09-05 13:42:53.670062"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hobert Hodkiewicz"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Pamala McCullough"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tesha Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Pamala McCullough"], ["name", "Tesha Runolfsdottir"], ["created_at", "2018-09-05 13:42:53.683504"], ["updated_at", "2018-09-05 13:42:53.683504"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lucio Armstrong"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lucio Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.691173"], ["updated_at", "2018-09-05 13:42:53.691173"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ranae Pagac"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ranae Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.698240"], ["updated_at", "2018-09-05 13:42:53.698240"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nicky Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicky Moen"], ["name", "Mitchell Nikolaus"], ["address", "Bob Ebert"], ["created_at", "2018-09-05 13:42:53.704788"], ["updated_at", "2018-09-05 13:42:53.704788"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jeannette Gusikowski"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jeannette Gusikowski"], ["name", "Cordell Thompson"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 13:42:53.709749"], ["updated_at", "2018-09-05 13:42:53.709749"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jeannette Gusikowski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jeannette Gusikowski"], ["name", "Cordell Thompson"], ["description", "Default bundle for service 'Cordell Thompson'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 13:42:53.714943"], ["updated_at", "2018-09-05 13:42:53.714943"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 58], ["chargeable_service_id", 35]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Linda Feest"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cheryle O'Reilly"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Linda Feest"], ["name", "Cheryle O'Reilly"], ["created_at", "2018-09-05 13:42:53.723653"], ["updated_at", "2018-09-05 13:42:53.723653"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gertrud Haley"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gertrud Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.728565"], ["updated_at", "2018-09-05 13:42:53.728565"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lorina Gleichner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorina Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.733717"], ["updated_at", "2018-09-05 13:42:53.733717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ilda Quitzon"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ilda Quitzon"], ["name", "Isabelle Kovacek"], ["address", "Natosha Casper"], ["created_at", "2018-09-05 13:42:53.738718"], ["updated_at", "2018-09-05 13:42:53.738718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Leontine Pollich"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Leontine Pollich"], ["name", "Lonna Raynor"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 13:42:53.743398"], ["updated_at", "2018-09-05 13:42:53.743398"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 73], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leontine Pollich"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Leontine Pollich"], ["name", "Lonna Raynor"], ["description", "Default bundle for service 'Lonna Raynor'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 13:42:53.748741"], ["updated_at", "2018-09-05 13:42:53.748741"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 59], ["chargeable_service_id", 36]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lolita Lang"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Marina Koelpin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lolita Lang"], ["name", "Marina Koelpin"], ["created_at", "2018-09-05 13:42:53.757972"], ["updated_at", "2018-09-05 13:42:53.757972"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Teddy Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Teddy Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.762767"], ["updated_at", "2018-09-05 13:42:53.762767"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oren Bogisich"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oren Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.768140"], ["updated_at", "2018-09-05 13:42:53.768140"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lacie Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lacie Maggio"], ["name", "Dewayne Fahey"], ["address", "Janiece Kassulke"], ["created_at", "2018-09-05 13:42:53.773128"], ["updated_at", "2018-09-05 13:42:53.773128"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lakeesha Romaguera"], ["service_delivery_unit_id", 74], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lakeesha Romaguera"], ["name", "Kiesha Conroy"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 13:42:53.777881"], ["updated_at", "2018-09-05 13:42:53.777881"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lakeesha Romaguera"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lakeesha Romaguera"], ["name", "Kiesha Conroy"], ["description", "Default bundle for service 'Kiesha Conroy'"], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 13:42:53.783083"], ["updated_at", "2018-09-05 13:42:53.783083"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 37]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.2ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (1.3ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 35], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 13:42:53.795018"], ["updated_at", "2018-09-05 13:42:53.795018"]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 36], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 13:42:53.799340"], ["updated_at", "2018-09-05 13:42:53.799340"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rudolf Gottlieb"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gianna Larson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rudolf Gottlieb"], ["name", "Gianna Larson"], ["created_at", "2018-09-05 13:42:53.810589"], ["updated_at", "2018-09-05 13:42:53.810589"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Nancey Dooley"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nancey Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.816717"], ["updated_at", "2018-09-05 13:42:53.816717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Randall Halvorson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Randall Halvorson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.822438"], ["updated_at", "2018-09-05 13:42:53.822438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Onie Mills"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Onie Mills"], ["name", "Janee Parisian"], ["address", "Trang Ruecker"], ["created_at", "2018-09-05 13:42:53.827304"], ["updated_at", "2018-09-05 13:42:53.827304"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Erica Donnelly"], ["service_delivery_unit_id", 75], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Erica Donnelly"], ["name", "Leo Daugherty"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 13:42:53.833629"], ["updated_at", "2018-09-05 13:42:53.833629"]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 75], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Erica Donnelly"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Erica Donnelly"], ["name", "Leo Daugherty"], ["description", "Default bundle for service 'Leo Daugherty'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 13:42:53.842121"], ["updated_at", "2018-09-05 13:42:53.842121"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 61], ["chargeable_service_id", 38]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 38], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 13:42:53.848997"], ["updated_at", "2018-09-05 13:42:53.848997"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 38], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceRate Update (1.0ms) UPDATE "mks_rate_service_rates" SET "base_rate" = $1, "updated_at" = $2 WHERE "mks_rate_service_rates"."id" = $3 [["base_rate", 300.0], ["updated_at", "2018-09-05 13:42:53.855482"], ["id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "antonio@will.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Zella Schroeder"], ["last_name", "Lorretta Schinner"], ["email", "antonio@will.us"], ["password_digest", "$2a$04$Rm5zpAZDPhln99Ech4Gtv.Is1j.1WtB9PuOmUI7Lw7MBfSQA4qsL6"], ["created_at", "2018-09-05 13:42:53.868528"], ["updated_at", "2018-09-05 13:42:53.868528"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "belva_durgan@greenfelder.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shenna Gottlieb"], ["last_name", "Tisha Kovacek"], ["email", "belva_durgan@greenfelder.biz"], ["password_digest", "$2a$04$qlJftfq7t8QcZjvrfTRkf.FoglWQx0T7JZMyZlMu9GBogvoQTFkc6"], ["created_at", "2018-09-05 13:42:53.876591"], ["updated_at", "2018-09-05 13:42:53.876591"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "roy_hoppe@haley.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elza Howell"], ["last_name", "Wanetta Schaden"], ["email", "roy_hoppe@haley.info"], ["password_digest", "$2a$04$b8.Je2yBAEcJmUc3C8PFzuDPpKukqB1VU2mJ7Miut6kZYTnrNK/iK"], ["created_at", "2018-09-05 13:42:53.884697"], ["updated_at", "2018-09-05 13:42:53.884697"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Gertrude Shields"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Gertrude Shields"], ["authorized_by", "Criselda Fadel"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 86], ["approved_by_id", 87], ["created_at", "2018-09-05 13:42:53.890784"], ["updated_at", "2018-09-05 13:42:53.890784"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Gertrude Shields"], ["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "status" = $1, "approved_by_id" = $2, "updated_at" = $3 WHERE "mks_rate_rate_change_requests"."id" = $4 [["status", "APPROVED"], ["approved_by_id", 85], ["updated_at", "2018-09-05 13:42:53.896917"], ["id", 11]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (1.0ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Grayce Abshire"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Grayce Abshire"], ["name", "Charlyn Bednar"], ["address", "Cristi Dicki"], ["created_at", "2018-09-05 13:42:53.910278"], ["updated_at", "2018-09-05 13:42:53.910278"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lakita Nolan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lakita Nolan"], ["name", "Keturah Osinski"], ["description", "Sal Medhurst"], ["percent_discount", 100.0], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 13:42:53.915182"], ["updated_at", "2018-09-05 13:42:53.915182"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leta Jaskolski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Desire Kohler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leta Jaskolski"], ["name", "Desire Kohler"], ["created_at", "2018-09-05 13:42:53.921955"], ["updated_at", "2018-09-05 13:42:53.921955"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Glen Nicolas"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Glen Nicolas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.928562"], ["updated_at", "2018-09-05 13:42:53.928562"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gearldine Price"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gearldine Price"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.933772"], ["updated_at", "2018-09-05 13:42:53.933772"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Justine Schneider"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Justine Schneider"], ["name", "Hyacinth Bogisich"], ["address", "Beaulah Haag"], ["created_at", "2018-09-05 13:42:53.940001"], ["updated_at", "2018-09-05 13:42:53.940001"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Celine Cartwright"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Celine Cartwright"], ["name", "Clinton O'Connell"], ["service_type_id", 55], ["base_unit_id", 92], ["utilization_unit_id", 93], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 13:42:53.944927"], ["updated_at", "2018-09-05 13:42:53.944927"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 77], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Celine Cartwright"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Celine Cartwright"], ["name", "Clinton O'Connell"], ["description", "Default bundle for service 'Clinton O'Connell'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 13:42:53.950090"], ["updated_at", "2018-09-05 13:42:53.950090"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 63], ["chargeable_service_id", 39]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Arlie Trantow"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eleonor Okuneva"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arlie Trantow"], ["name", "Eleonor Okuneva"], ["created_at", "2018-09-05 13:42:53.958996"], ["updated_at", "2018-09-05 13:42:53.958996"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Wilson Nolan"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wilson Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.963704"], ["updated_at", "2018-09-05 13:42:53.963704"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Earline Swaniawski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earline Swaniawski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.968358"], ["updated_at", "2018-09-05 13:42:53.968358"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Adelaida Bashirian"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Adelaida Bashirian"], ["name", "Lashandra Zboncak"], ["address", "Lorean Rutherford"], ["created_at", "2018-09-05 13:42:53.973672"], ["updated_at", "2018-09-05 13:42:53.973672"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Latesha Heaney"], ["service_delivery_unit_id", 78], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Latesha Heaney"], ["name", "Maria Ernser"], ["service_type_id", 56], ["base_unit_id", 94], ["utilization_unit_id", 95], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 13:42:53.978791"], ["updated_at", "2018-09-05 13:42:53.978791"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 78], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Latesha Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Latesha Heaney"], ["name", "Maria Ernser"], ["description", "Default bundle for service 'Maria Ernser'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 13:42:53.983643"], ["updated_at", "2018-09-05 13:42:53.983643"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 64], ["chargeable_service_id", 40]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gregoria Jenkins"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cecily Grant"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gregoria Jenkins"], ["name", "Cecily Grant"], ["created_at", "2018-09-05 13:42:53.992689"], ["updated_at", "2018-09-05 13:42:53.992689"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (18.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Angle Stroman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angle Stroman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.014878"], ["updated_at", "2018-09-05 13:42:54.014878"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kandy Langworth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kandy Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.020163"], ["updated_at", "2018-09-05 13:42:54.020163"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lina Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lina Klocko"], ["name", "Mary Bednar"], ["address", "Christiane Doyle"], ["created_at", "2018-09-05 13:42:54.025387"], ["updated_at", "2018-09-05 13:42:54.025387"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Luis Muller"], ["service_delivery_unit_id", 79], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Luis Muller"], ["name", "Mazie Rice"], ["service_type_id", 57], ["base_unit_id", 96], ["utilization_unit_id", 97], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 13:42:54.030346"], ["updated_at", "2018-09-05 13:42:54.030346"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 79], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luis Muller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Luis Muller"], ["name", "Mazie Rice"], ["description", "Default bundle for service 'Mazie Rice'"], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 13:42:54.035468"], ["updated_at", "2018-09-05 13:42:54.035468"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 65], ["chargeable_service_id", 41]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 39], ["id", 40], ["id", 41]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 39]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 40]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 41]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]]  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eladia Bergnaum"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eladia Bergnaum"], ["name", "Latina Veum"], ["address", "Stasia Casper"], ["created_at", "2018-09-05 13:42:54.065849"], ["updated_at", "2018-09-05 13:42:54.065849"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Glenn Langosh"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Glenn Langosh"], ["name", "Whitney Bosco"], ["description", "Kaylee Witting"], ["percent_discount", 100.0], ["service_delivery_unit_id", 80], ["created_at", "2018-09-05 13:42:54.071390"], ["updated_at", "2018-09-05 13:42:54.071390"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ardelia Bechtelar"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Fairy Zboncak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ardelia Bechtelar"], ["name", "Fairy Zboncak"], ["created_at", "2018-09-05 13:42:54.077700"], ["updated_at", "2018-09-05 13:42:54.077700"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Chadwick Cormier"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chadwick Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.082576"], ["updated_at", "2018-09-05 13:42:54.082576"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gayle Pouros"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gayle Pouros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.088879"], ["updated_at", "2018-09-05 13:42:54.088879"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Joeann Dickinson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joeann Dickinson"], ["name", "Cheyenne Lueilwitz"], ["address", "Lorilee Beer"], ["created_at", "2018-09-05 13:42:54.094879"], ["updated_at", "2018-09-05 13:42:54.094879"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Deedee Greenfelder"], ["service_delivery_unit_id", 81], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.8ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Deedee Greenfelder"], ["name", "Adrian West"], ["service_type_id", 58], ["base_unit_id", 98], ["utilization_unit_id", 99], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 13:42:54.100515"], ["updated_at", "2018-09-05 13:42:54.100515"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Deedee Greenfelder"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Deedee Greenfelder"], ["name", "Adrian West"], ["description", "Default bundle for service 'Adrian West'"], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 13:42:54.106887"], ["updated_at", "2018-09-05 13:42:54.106887"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 67], ["chargeable_service_id", 42]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Micheal Weissnat"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Sang Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Micheal Weissnat"], ["name", "Sang Thompson"], ["created_at", "2018-09-05 13:42:54.117317"], ["updated_at", "2018-09-05 13:42:54.117317"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Glynda Cartwright"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Glynda Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.122084"], ["updated_at", "2018-09-05 13:42:54.122084"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gwen Cole"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gwen Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.126616"], ["updated_at", "2018-09-05 13:42:54.126616"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lanell Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lanell Zemlak"], ["name", "Heath Lynch"], ["address", "Alex Treutel"], ["created_at", "2018-09-05 13:42:54.131361"], ["updated_at", "2018-09-05 13:42:54.131361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Christopher Hoeger"], ["service_delivery_unit_id", 82], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Christopher Hoeger"], ["name", "Louvenia Prosacco"], ["service_type_id", 59], ["base_unit_id", 100], ["utilization_unit_id", 101], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 13:42:54.135993"], ["updated_at", "2018-09-05 13:42:54.135993"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 82], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Christopher Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Christopher Hoeger"], ["name", "Louvenia Prosacco"], ["description", "Default bundle for service 'Louvenia Prosacco'"], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 13:42:54.140947"], ["updated_at", "2018-09-05 13:42:54.140947"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 68], ["chargeable_service_id", 43]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leonore Yundt"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Laine Spencer"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leonore Yundt"], ["name", "Laine Spencer"], ["created_at", "2018-09-05 13:42:54.150153"], ["updated_at", "2018-09-05 13:42:54.150153"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lawrence Satterfield"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lawrence Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.154752"], ["updated_at", "2018-09-05 13:42:54.154752"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Genia Romaguera"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Genia Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.159483"], ["updated_at", "2018-09-05 13:42:54.159483"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Asley Raynor"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Asley Raynor"], ["name", "Dinorah Roob"], ["address", "Khadijah Reichert"], ["created_at", "2018-09-05 13:42:54.164076"], ["updated_at", "2018-09-05 13:42:54.164076"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "May Ebert"], ["service_delivery_unit_id", 83], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "May Ebert"], ["name", "Lovella Streich"], ["service_type_id", 60], ["base_unit_id", 102], ["utilization_unit_id", 103], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 13:42:54.168957"], ["updated_at", "2018-09-05 13:42:54.168957"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "May Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "May Ebert"], ["name", "Lovella Streich"], ["description", "Default bundle for service 'Lovella Streich'"], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 13:42:54.174057"], ["updated_at", "2018-09-05 13:42:54.174057"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 69], ["chargeable_service_id", 44]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 42]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 43]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 44]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 44]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" IN ($2, $3) [["service_bundle_id", 66], ["chargeable_service_id", 42], ["chargeable_service_id", 43]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sid Wunsch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sid Wunsch"], ["name", "Shonna Kris"], ["address", "Elenora Lueilwitz"], ["created_at", "2018-09-05 13:42:54.207793"], ["updated_at", "2018-09-05 13:42:54.207793"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Merlin Bernier"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Merlin Bernier"], ["name", "Domingo Homenick"], ["description", "Coral Hegmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 84], ["created_at", "2018-09-05 13:42:54.212276"], ["updated_at", "2018-09-05 13:42:54.212276"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maddie Cronin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jacqueline Kuhlman"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maddie Cronin"], ["name", "Jacqueline Kuhlman"], ["created_at", "2018-09-05 13:42:54.220501"], ["updated_at", "2018-09-05 13:42:54.220501"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Roselyn Ortiz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roselyn Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.226378"], ["updated_at", "2018-09-05 13:42:54.226378"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Star Welch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Star Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.232751"], ["updated_at", "2018-09-05 13:42:54.232751"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Adrianna Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Adrianna Goyette"], ["name", "Lacy Von"], ["address", "Isobel Hessel"], ["created_at", "2018-09-05 13:42:54.239303"], ["updated_at", "2018-09-05 13:42:54.239303"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Xzbdulia Mayert"], ["service_delivery_unit_id", 85], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Xzbdulia Mayert"], ["name", "Sadie Lindgren"], ["service_type_id", 61], ["base_unit_id", 104], ["utilization_unit_id", 105], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 13:42:54.245852"], ["updated_at", "2018-09-05 13:42:54.245852"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Xzbdulia Mayert"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Xzbdulia Mayert"], ["name", "Sadie Lindgren"], ["description", "Default bundle for service 'Sadie Lindgren'"], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 13:42:54.251565"], ["updated_at", "2018-09-05 13:42:54.251565"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 71], ["chargeable_service_id", 45]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Stephani Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Malinda Kutch"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stephani Skiles"], ["name", "Malinda Kutch"], ["created_at", "2018-09-05 13:42:54.260824"], ["updated_at", "2018-09-05 13:42:54.260824"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Stacee Farrell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stacee Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.266232"], ["updated_at", "2018-09-05 13:42:54.266232"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dessie Glover"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dessie Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.271227"], ["updated_at", "2018-09-05 13:42:54.271227"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Christene Hauck"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Christene Hauck"], ["name", "Ginette Wisoky"], ["address", "Vaughn Daniel"], ["created_at", "2018-09-05 13:42:54.276627"], ["updated_at", "2018-09-05 13:42:54.276627"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Marty Rodriguez"], ["service_delivery_unit_id", 86], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Marty Rodriguez"], ["name", "Billi Luettgen"], ["service_type_id", 62], ["base_unit_id", 106], ["utilization_unit_id", 107], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 13:42:54.281603"], ["updated_at", "2018-09-05 13:42:54.281603"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 86], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marty Rodriguez"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Marty Rodriguez"], ["name", "Billi Luettgen"], ["description", "Default bundle for service 'Billi Luettgen'"], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 13:42:54.286739"], ["updated_at", "2018-09-05 13:42:54.286739"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 72], ["chargeable_service_id", 46]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joanna Hammes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Austin Kling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joanna Hammes"], ["name", "Austin Kling"], ["created_at", "2018-09-05 13:42:54.297176"], ["updated_at", "2018-09-05 13:42:54.297176"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lilliana Leannon"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lilliana Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.302229"], ["updated_at", "2018-09-05 13:42:54.302229"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Zora Herzog"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zora Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.307204"], ["updated_at", "2018-09-05 13:42:54.307204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Arline Stroman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arline Stroman"], ["name", "Gavin Von"], ["address", "Parker Gerlach"], ["created_at", "2018-09-05 13:42:54.311930"], ["updated_at", "2018-09-05 13:42:54.311930"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Douglas Heller"], ["service_delivery_unit_id", 87], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.7ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Douglas Heller"], ["name", "Josef Larkin"], ["service_type_id", 63], ["base_unit_id", 108], ["utilization_unit_id", 109], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 13:42:54.317814"], ["updated_at", "2018-09-05 13:42:54.317814"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 87], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Douglas Heller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Douglas Heller"], ["name", "Josef Larkin"], ["description", "Default bundle for service 'Josef Larkin'"], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 13:42:54.325146"], ["updated_at", "2018-09-05 13:42:54.325146"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 73], ["chargeable_service_id", 47]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Beryl Hessel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Anne Ortiz"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Beryl Hessel"], ["name", "Anne Ortiz"], ["created_at", "2018-09-05 13:42:54.334357"], ["updated_at", "2018-09-05 13:42:54.334357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Shela Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shela Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.339395"], ["updated_at", "2018-09-05 13:42:54.339395"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rafaela Bednar"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rafaela Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.345052"], ["updated_at", "2018-09-05 13:42:54.345052"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Modesta Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Modesta Wuckert"], ["name", "Queen Tromp"], ["address", "Phebe Hayes"], ["created_at", "2018-09-05 13:42:54.350344"], ["updated_at", "2018-09-05 13:42:54.350344"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lincoln Pfannerstill"], ["service_delivery_unit_id", 88], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lincoln Pfannerstill"], ["name", "Elana Schmitt"], ["service_type_id", 64], ["base_unit_id", 110], ["utilization_unit_id", 111], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 13:42:54.355254"], ["updated_at", "2018-09-05 13:42:54.355254"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 88], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lincoln Pfannerstill"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lincoln Pfannerstill"], ["name", "Elana Schmitt"], ["description", "Default bundle for service 'Elana Schmitt'"], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 13:42:54.360297"], ["updated_at", "2018-09-05 13:42:54.360297"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 74], ["chargeable_service_id", 48]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 46]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 46], ["id", 47], ["id", 48]] Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" = $2 [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 47]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 48]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ChargeableService Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_chargeable_services"."id" = $2 LIMIT $3 [["service_bundle_id", 70], ["id", 45], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.7ms) ROLLBACK