spec/dummy/log/test.log in mks_rate-1.0.4 vs spec/dummy/log/test.log in mks_rate-1.0.5

- old
+ new

@@ -3344,5 +3344,3353 @@ 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 +  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.8ms) BEGIN +  (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", "farah.pacocha@brakus.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", "Arlie O'Keefe"], ["last_name", "Kellee Dooley"], ["email", "farah.pacocha@brakus.name"], ["password_digest", "$2a$04$brmqMOJOVzMc3plBKqoQSeznGhxi2IoT9K0wOQ2B2nejUXzGVWs8O"], ["created_at", "2018-09-05 19:27:40.129268"], ["updated_at", "2018-09-05 19:27:40.129268"]] +  (0.6ms) 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", "Ross 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", "Kam Zemlak"], ["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", "Ross Mraz"], ["name", "Kam Zemlak"], ["created_at", "2018-09-05 19:27:40.172330"], ["updated_at", "2018-09-05 19:27:40.172330"]] +  (0.5ms) 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", "Hazel Leffler"], ["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", "Hazel Leffler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.193414"], ["updated_at", "2018-09-05 19:27:40.193414"]] +  (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", "Andre Luettgen"], ["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", "Andre Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.199281"], ["updated_at", "2018-09-05 19:27:40.199281"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (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", "Dania Stokes"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dania Stokes"], ["name", "Precious Jakubowski"], ["address", "Russel Mayert"], ["created_at", "2018-09-05 19:27:40.214721"], ["updated_at", "2018-09-05 19:27:40.214721"]] +  (0.9ms) 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", "Tonja Kub"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (1.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", "Tonja Kub"], ["name", "Manie Raynor"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 19:27:40.222700"], ["updated_at", "2018-09-05 19:27:40.222700"]] + 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", 1], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tonja Kub"], ["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", "Tonja Kub"], ["name", "Manie Raynor"], ["description", "Default bundle for service 'Manie Raynor'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 19:27:40.250590"], ["updated_at", "2018-09-05 19:27:40.250590"]] + Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms) 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.4ms) 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", "Kirk Kemmer"], ["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", "Tammie Swift"], ["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", "Kirk Kemmer"], ["name", "Tammie Swift"], ["created_at", "2018-09-05 19:27:40.287368"], ["updated_at", "2018-09-05 19:27:40.287368"]] +  (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", "Daina Kutch"], ["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", "Daina Kutch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.291885"], ["updated_at", "2018-09-05 19:27:40.291885"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) 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", "Blake Heathcote"], ["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", "Blake Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.296127"], ["updated_at", "2018-09-05 19:27:40.296127"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) 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", "Rolf Tromp"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (0.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rolf Tromp"], ["name", "Abbie Goodwin"], ["address", "Linn Heidenreich"], ["created_at", "2018-09-05 19:27:40.300367"], ["updated_at", "2018-09-05 19:27:40.300367"]] +  (0.4ms) 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", "Herminia Jacobson"], ["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", "Herminia Jacobson"], ["name", "Lazaro Reinger"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 19:27:40.304397"], ["updated_at", "2018-09-05 19:27:40.304397"]] + 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", 2], ["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", "Herminia Jacobson"], ["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", "Herminia Jacobson"], ["name", "Lazaro Reinger"], ["description", "Default bundle for service 'Lazaro Reinger'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 19:27:40.309460"], ["updated_at", "2018-09-05 19:27:40.309460"]] + 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.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", "Soila Blanda"], ["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", "Garrett Hills"], ["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", "Soila Blanda"], ["name", "Garrett Hills"], ["created_at", "2018-09-05 19:27:40.318103"], ["updated_at", "2018-09-05 19:27:40.318103"]] +  (0.8ms) 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", "Trina Hand"], ["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", "Trina Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.324431"], ["updated_at", "2018-09-05 19:27:40.324431"]] +  (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", "Vicki Heller"], ["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", "Vicki Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.329279"], ["updated_at", "2018-09-05 19:27:40.329279"]] +  (0.6ms) 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", "Shanell Barton"], ["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", "Shanell Barton"], ["name", "Gabriela Leuschke"], ["address", "Nicolas Blanda"], ["created_at", "2018-09-05 19:27:40.334142"], ["updated_at", "2018-09-05 19:27:40.334142"]] +  (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", "Luanne Grady"], ["service_delivery_unit_id", 3], ["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", "Luanne Grady"], ["name", "Merna Rolfson"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 19:27:40.338914"], ["updated_at", "2018-09-05 19:27:40.338914"]] + 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luanne Grady"], ["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", "Luanne Grady"], ["name", "Merna Rolfson"], ["description", "Default bundle for service 'Merna Rolfson'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 19:27:40.344116"], ["updated_at", "2018-09-05 19:27:40.344116"]] + 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", 3], ["chargeable_service_id", 3]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ChargeableServicesController#index as HTML + Mks::Auth::User Load (1.0ms) 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.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC + Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 2], ["id", 1], ["id", 3]] +[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", 3], ["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", 4], ["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", 2], ["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", 1], ["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", 2], ["LIMIT", 1]] +[active_model_serializers] 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", 1], ["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", 5], ["LIMIT", 1]] +[active_model_serializers] Mks::Rate::UnitOfCharge Load (0.5ms) 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.7ms) 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] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (16.28ms) +Completed 200 OK in 49ms (Views: 36.6ms | ActiveRecord: 10.3ms) +  (1.0ms) ROLLBACK +  (0.4ms) 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", "annelle@ratke.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", "Elden Weimann"], ["last_name", "Alton Romaguera"], ["email", "annelle@ratke.biz"], ["password_digest", "$2a$04$nh66uyTo3sgAAhHujR8dGOJDkXrQPbKeeqM7YIpL9w9Li0zWHARnK"], ["created_at", "2018-09-05 19:27:40.410905"], ["updated_at", "2018-09-05 19:27:40.410905"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" +  (0.7ms) 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", "Luanne Conroy"], ["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", "Luanne Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.427336"], ["updated_at", "2018-09-05 19:27:40.427336"]] +  (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", "Kati Hudson"], ["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", "Kati Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.434048"], ["updated_at", "2018-09-05 19:27:40.434048"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Love Sawayn"], ["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", "Love Sawayn"], ["name", "Darell Weber"], ["address", "Brande Halvorson"], ["created_at", "2018-09-05 19:27:40.441444"], ["updated_at", "2018-09-05 19:27:40.441444"]] +  (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", "Sammie 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", "Brain Zulauf"], ["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", "Sammie Graham"], ["name", "Brain Zulauf"], ["created_at", "2018-09-05 19:27:40.447765"], ["updated_at", "2018-09-05 19:27:40.447765"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ChargeableServicesController#create as JSON + Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Nicolle Grady", "name"=>"Aletha Jast", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} + Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 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", "Nicolle Grady"], ["service_delivery_unit_id", 4], ["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", 4], ["LIMIT", 1]] + 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", 7], ["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", 4], ["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", "Nicolle Grady"], ["name", "Aletha Jast"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 19:27:40.465924"], ["updated_at", "2018-09-05 19:27:40.465924"]] + 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::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nicolle Grady"], ["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", "Nicolle Grady"], ["name", "Aletha Jast"], ["description", "Default bundle for service 'Aletha Jast'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 19:27:40.471484"], ["updated_at", "2018-09-05 19:27:40.471484"]] + 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", 4], ["chargeable_service_id", 4]] +  (0.6ms) RELEASE SAVEPOINT active_record_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", 8], ["LIMIT", 1]] +[active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.76ms) + Mks::Auth::User Load (0.8ms) 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.46ms) +Completed 200 OK in 35ms (Views: 10.7ms | ActiveRecord: 11.7ms) +  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" +  (1.7ms) ROLLBACK +  (0.9ms) BEGIN +  (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", "celine@oga.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", "Filiberto Lebsack"], ["last_name", "Reagan Gottlieb"], ["email", "celine@oga.us"], ["password_digest", "$2a$04$xhglcS.vkVBgVgfBKCFwJOCg8Pik3Gwfq5MlO7b2qaA04H5uJyGWG"], ["created_at", "2018-09-05 19:27:40.504877"], ["updated_at", "2018-09-05 19:27:40.504877"]] +  (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", "Marleen Cremin"], ["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", "Marleen Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.510303"], ["updated_at", "2018-09-05 19:27:40.510303"]] +  (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", "Margareta Osinski"], ["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", "Margareta Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.514985"], ["updated_at", "2018-09-05 19:27:40.514985"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Mario Luettgen"], ["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", "Mario Luettgen"], ["name", "Sylvester Hagenes"], ["address", "Alicia Simonis"], ["created_at", "2018-09-05 19:27:40.521161"], ["updated_at", "2018-09-05 19:27:40.521161"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Henrietta Howe"], ["LIMIT", 1]] + Mks::Rate::ServiceType Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Caryl Kirlin"], ["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", "Henrietta Howe"], ["name", "Caryl Kirlin"], ["created_at", "2018-09-05 19:27:40.530125"], ["updated_at", "2018-09-05 19:27:40.530125"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ChargeableServicesController#create as JSON + Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Raven Raynor", "name"=>"Shirleen Klein", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} + Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] +  (0.6ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.6ms) 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", "Raven Raynor"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] + Mks::Rate::ServiceType Load (1.5ms) 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.9ms) 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", "Raven Raynor"], ["name", "Shirleen Klein"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 19:27:40.546070"], ["updated_at", "2018-09-05 19:27:40.546070"]] + 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", 5], ["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", "Raven Raynor"], ["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", "Raven Raynor"], ["name", "Shirleen Klein"], ["description", "Default bundle for service 'Shirleen Klein'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 19:27:40.551594"], ["updated_at", "2018-09-05 19:27:40.551594"]] + 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", 5], ["chargeable_service_id", 5]] +  (0.5ms) 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.55ms) + 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]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) +Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 13.6ms) +  (1.0ms) ROLLBACK +  (1.3ms) BEGIN +  (1.0ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (2.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arden_smitham@gleichner.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", "Maranda Lakin"], ["last_name", "Kaylee Green"], ["email", "arden_smitham@gleichner.name"], ["password_digest", "$2a$04$.QUpggkXpQFE.1mKxCM0aeSHSv/kL.3R1as1iyspIhHS/K2uLrmm2"], ["created_at", "2018-09-05 19:27:40.575303"], ["updated_at", "2018-09-05 19:27:40.575303"]] +  (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", "Julieta Bednar"], ["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", "Julieta Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.582022"], ["updated_at", "2018-09-05 19:27:40.582022"]] +  (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", "Vernell Von"], ["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", "Vernell Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.588001"], ["updated_at", "2018-09-05 19:27:40.588001"]] +  (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", "Daniel Gulgowski"], ["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", "Daniel Gulgowski"], ["name", "Loraine Sporer"], ["address", "Ma Kerluke"], ["created_at", "2018-09-05 19:27:40.593738"], ["updated_at", "2018-09-05 19:27:40.593738"]] +  (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", "Fanny Okuneva"], ["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", "Lorna Schuster"], ["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", "Fanny Okuneva"], ["name", "Lorna Schuster"], ["created_at", "2018-09-05 19:27:40.600744"], ["updated_at", "2018-09-05 19:27:40.600744"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ChargeableServicesController#create as JSON + Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Sanda Fadel", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} + Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 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", ""], ["service_delivery_unit_id", 6], ["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", 6], ["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", 11], ["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", 6], ["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", 4], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) +Completed 422 Unprocessable Entity in 29ms (Views: 6.8ms | ActiveRecord: 6.9ms) +  (1.4ms) ROLLBACK +  (0.7ms) 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", "oliver@bechtelar.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", "Christeen Ruecker"], ["last_name", "Ivey Volkman"], ["email", "oliver@bechtelar.us"], ["password_digest", "$2a$04$JxnYoecl9.GWRofLwotK9urFCI6RmuXP6yq0f8qxXmBK0SB7Q.Clu"], ["created_at", "2018-09-05 19:27:40.644945"], ["updated_at", "2018-09-05 19:27:40.644945"]] +  (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", "Enoch Moore"], ["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", "Danuta Davis"], ["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", "Enoch Moore"], ["name", "Danuta Davis"], ["created_at", "2018-09-05 19:27:40.653285"], ["updated_at", "2018-09-05 19:27:40.653285"]] +  (0.7ms) 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", "Isaac Grant"], ["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", "Isaac Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.660936"], ["updated_at", "2018-09-05 19:27:40.660936"]] +  (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", "Heath Toy"], ["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", "Heath Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.669677"], ["updated_at", "2018-09-05 19:27:40.669677"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Chiquita Murray"], ["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", "Chiquita Murray"], ["name", "Matt Kuhn"], ["address", "Chelsey Batz"], ["created_at", "2018-09-05 19:27:40.676821"], ["updated_at", "2018-09-05 19:27:40.676821"]] +  (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", "Luvenia Powlowski"], ["service_delivery_unit_id", 7], ["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", "Luvenia Powlowski"], ["name", "Nick Lynch"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 19:27:40.683118"], ["updated_at", "2018-09-05 19:27:40.683118"]] + 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", "Luvenia Powlowski"], ["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", "Luvenia Powlowski"], ["name", "Nick Lynch"], ["description", "Default bundle for service 'Nick Lynch'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 19:27:40.689152"], ["updated_at", "2018-09-05 19:27:40.689152"]] + 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]] +  (1.3ms) 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 (1.0ms) 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 (0.9ms) 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", "Luvenia Powlowski"], ["id", 6], ["service_delivery_unit_id", 7], ["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", 7], ["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", 13], ["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", 7], ["LIMIT", 1]] + Mks::Rate::ChargeableService Update (1.1ms) 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 19:27:40.711109"], ["id", 6]] + 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luvenia Powlowski"], ["LIMIT", 1]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Mks::Rate::UnitOfCharge Load (1.3ms) 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.68ms) + Mks::Auth::User Load (1.3ms) 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 (1.04ms) +Completed 200 OK in 40ms (Views: 2.1ms | ActiveRecord: 12.0ms) + Mks::Rate::ChargeableService Load (1.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.6ms) BEGIN +  (1.1ms) 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", "voncile.kohler@jasttrantow.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", "Olivia Bartoletti"], ["last_name", "Brittny Streich"], ["email", "voncile.kohler@jasttrantow.name"], ["password_digest", "$2a$04$EpEYQFjArI4y/2Wp.fFDUup0alwOrkI7Xtd0d4X0VkV3TUc6dRQGi"], ["created_at", "2018-09-05 19:27:40.758348"], ["updated_at", "2018-09-05 19:27:40.758348"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) 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", "Fidela Crona"], ["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", "Rickie Lowe"], ["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", "Fidela Crona"], ["name", "Rickie Lowe"], ["created_at", "2018-09-05 19:27:40.766822"], ["updated_at", "2018-09-05 19:27:40.766822"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + 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", "Carli Waters"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carli Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.772571"], ["updated_at", "2018-09-05 19:27:40.772571"]] +  (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", "Zetta Ferry"], ["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", "Zetta Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.778686"], ["updated_at", "2018-09-05 19:27:40.778686"]] +  (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", "Charisse Homenick"], ["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", "Charisse Homenick"], ["name", "Floyd Donnelly"], ["address", "Mickey Pollich"], ["created_at", "2018-09-05 19:27:40.783448"], ["updated_at", "2018-09-05 19:27:40.783448"]] +  (0.6ms) 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", "Terrence Langworth"], ["service_delivery_unit_id", 8], ["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", "Terrence Langworth"], ["name", "Monroe Hane"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 19:27:40.789191"], ["updated_at", "2018-09-05 19:27:40.789191"]] + 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", 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", "Terrence Langworth"], ["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", "Terrence Langworth"], ["name", "Monroe Hane"], ["description", "Default bundle for service 'Monroe Hane'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 19:27:40.794416"], ["updated_at", "2018-09-05 19:27:40.794416"]] + 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", 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.9ms) 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", "Terrence Langworth"], ["id", 7], ["service_delivery_unit_id", 8], ["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", 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.8ms) 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.5ms) 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", 6], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) +Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 6.4ms) +  (0.6ms) ROLLBACK +  (0.5ms) BEGIN +  (0.8ms) 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", "shelley@mertz.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", "Madaline Leffler"], ["last_name", "Helaine Feeney"], ["email", "shelley@mertz.ca"], ["password_digest", "$2a$04$9keK3cJLllwWu71C.pXCNu2zH9bFIIDO.UbSWC.K9iDLNVq8r1b9C"], ["created_at", "2018-09-05 19:27:40.822022"], ["updated_at", "2018-09-05 19:27:40.822022"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Junko Brakus"], ["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", "Junko Brakus"], ["name", "Lavonda Bode"], ["address", "Nicholas Jenkins"], ["created_at", "2018-09-05 19:27:40.828267"], ["updated_at", "2018-09-05 19:27:40.828267"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.4ms) 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", "Verna 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", "Verna Schmidt"], ["name", "Shawnta Hahn"], ["address", "Luvenia Hand"], ["created_at", "2018-09-05 19:27:40.835374"], ["updated_at", "2018-09-05 19:27:40.835374"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Milan Tillman"], ["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", "Cayla Mills"], ["LIMIT", 1]] + Mks::Rate::ServiceType Create (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milan Tillman"], ["name", "Cayla Mills"], ["created_at", "2018-09-05 19:27:40.843562"], ["updated_at", "2018-09-05 19:27:40.843562"]] +  (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", "Dorthea 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", "Dorthea D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.848940"], ["updated_at", "2018-09-05 19:27:40.848940"]] +  (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", "Giovanni Koch"], ["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", "Giovanni Koch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.853412"], ["updated_at", "2018-09-05 19:27:40.853412"]] +  (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", "Janene Donnelly"], ["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", "Janene Donnelly"], ["name", "Harold Walker"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.859549"], ["updated_at", "2018-09-05 19:27:40.859549"]] + 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", 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", "Janene 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", "Janene Donnelly"], ["name", "Harold Walker"], ["description", "Default bundle for service 'Harold Walker'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.864211"], ["updated_at", "2018-09-05 19:27:40.864211"]] + 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", 8], ["chargeable_service_id", 8]] +  (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", "Brooks Medhurst"], ["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", "Shin Jacobi"], ["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", "Brooks Medhurst"], ["name", "Shin Jacobi"], ["created_at", "2018-09-05 19:27:40.872853"], ["updated_at", "2018-09-05 19:27:40.872853"]] +  (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", "Spring Gleichner"], ["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", "Spring Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.877440"], ["updated_at", "2018-09-05 19:27:40.877440"]] +  (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", "Drusilla Trantow"], ["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", "Drusilla Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.881931"], ["updated_at", "2018-09-05 19:27:40.881931"]] +  (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", "Elayne Bogisich"], ["service_delivery_unit_id", 9], ["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", 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", "Elayne Bogisich"], ["name", "Missy Lynch"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.888191"], ["updated_at", "2018-09-05 19:27:40.888191"]] + 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::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elayne Bogisich"], ["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", "Elayne Bogisich"], ["name", "Missy Lynch"], ["description", "Default bundle for service 'Missy Lynch'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.893465"], ["updated_at", "2018-09-05 19:27:40.893465"]] + 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", 9], ["chargeable_service_id", 9]] +  (0.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", "Junior Jacobi"], ["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", "Hubert Zemlak"], ["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", "Junior Jacobi"], ["name", "Hubert Zemlak"], ["created_at", "2018-09-05 19:27:40.902863"], ["updated_at", "2018-09-05 19:27:40.902863"]] +  (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", "Katharina Kerluke"], ["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", "Katharina Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.907709"], ["updated_at", "2018-09-05 19:27:40.907709"]] +  (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", "Suzy Brekke"], ["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", "Suzy Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.912533"], ["updated_at", "2018-09-05 19:27:40.912533"]] +  (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", "Takako Yundt"], ["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 (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", "Takako Yundt"], ["name", "Vicente O'Reilly"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.918878"], ["updated_at", "2018-09-05 19:27:40.918878"]] + 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", 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", "Takako Yundt"], ["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", "Takako Yundt"], ["name", "Vicente O'Reilly"], ["description", "Default bundle for service 'Vicente O'Reilly'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.923818"], ["updated_at", "2018-09-05 19:27:40.923818"]] + 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", 10], ["chargeable_service_id", 10]] +  (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", "Mittie Grant"], ["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", "Shanice Predovic"], ["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", "Mittie Grant"], ["name", "Shanice Predovic"], ["created_at", "2018-09-05 19:27:40.933024"], ["updated_at", "2018-09-05 19:27:40.933024"]] +  (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", "Grady Stark"], ["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", "Grady Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.938225"], ["updated_at", "2018-09-05 19:27:40.938225"]] +  (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", "Kaleigh Goodwin"], ["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", "Kaleigh Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.943812"], ["updated_at", "2018-09-05 19:27:40.943812"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.6ms) 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", "Carroll Ruecker"], ["service_delivery_unit_id", 10], ["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", 10], ["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", "Carroll Ruecker"], ["name", "Angelina Corwin"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.952410"], ["updated_at", "2018-09-05 19:27:40.952410"]] + 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::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Carroll Ruecker"], ["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", "Carroll Ruecker"], ["name", "Angelina Corwin"], ["description", "Default bundle for service 'Angelina Corwin'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.957963"], ["updated_at", "2018-09-05 19:27:40.957963"]] + 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", 11], ["chargeable_service_id", 11]] +  (0.6ms) 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.7ms) 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.7ms) 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.6ms) 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 (10.68ms) +Completed 200 OK in 16ms (Views: 7.9ms | ActiveRecord: 7.5ms) +  (0.7ms) 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", "rosenda.farrell@buckridge.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", "Augustine Walsh"], ["last_name", "Coralie Jakubowski"], ["email", "rosenda.farrell@buckridge.name"], ["password_digest", "$2a$04$jjtqJBTEGhFk7EtWO1pEq.fkAZc8.TnPY3kCDr.6/6WbJ2kmJcwJi"], ["created_at", "2018-09-05 19:27:40.988372"], ["updated_at", "2018-09-05 19:27:40.988372"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) 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", "sharonda_kohler@muller.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", "Reggie Pagac"], ["last_name", "Lashaun Gerhold"], ["email", "sharonda_kohler@muller.us"], ["password_digest", "$2a$04$8xtOZZ7RbqdfjSnAyEEj0etKqhP55Sv7AdIvscbrtdMTkEQhEMe7W"], ["created_at", "2018-09-05 19:27:41.015135"], ["updated_at", "2018-09-05 19:27:41.015135"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) 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", "lacy.hoppe@pfeffer.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", "Alejandro Koepp"], ["last_name", "William Cremin"], ["email", "lacy.hoppe@pfeffer.co.uk"], ["password_digest", "$2a$04$.cap6f.N0g3Egz3rIujZJOfNtMYjCt9qgE7Egsq013shIsBVnbj92"], ["created_at", "2018-09-05 19:27:41.025458"], ["updated_at", "2018-09-05 19:27:41.025458"]] +  (0.5ms) 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", "Pamala Wolf"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (2.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", "Pamala Wolf"], ["authorized_by", "Mariko Feest"], ["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 19:27:41.031095"], ["updated_at", "2018-09-05 19:27:41.031095"]] +  (1.8ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#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", 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.7ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" +No serializer found for resource: #<Mks::Rate::RateChangeRequest id: 1, reference_number: "Pamala Wolf", authorized_by: "Mariko Feest", 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}], status: "SUBMITTED", created_by_id: 9, approved_by_id: 10, remark: nil, created_at: "2018-09-05 19:27:41", updated_at: "2018-09-05 19:27:41"> +[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.63ms) +Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 2.3ms) +  (1.9ms) ROLLBACK +  (0.6ms) 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", "elisa_williamson@runolfsdottirjohnson.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", "Denise Koelpin"], ["last_name", "Lanora Pfeffer"], ["email", "elisa_williamson@runolfsdottirjohnson.co.uk"], ["password_digest", "$2a$04$lfFFpqP/C6WD31JFYN3iL.OQNN7o3UKoKZR1SsSEEv.CAk5/qQF0a"], ["created_at", "2018-09-05 19:27:41.062778"], ["updated_at", "2018-09-05 19:27:41.062778"]] +  (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", "jaquelyn.jacobson@steuber.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", "Maggie Roob"], ["last_name", "Vito O'Hara"], ["email", "jaquelyn.jacobson@steuber.name"], ["password_digest", "$2a$04$71tUiWm7AFCFUmQ56Cehl.xXj3PHnC.ECxtABPNm0EaTlT/XwR5xK"], ["created_at", "2018-09-05 19:27:41.070446"], ["updated_at", "2018-09-05 19:27:41.070446"]] +  (0.5ms) 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", "breann.botsford@dickiwolf.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", "Pearline Leuschke"], ["last_name", "Barton Dicki"], ["email", "breann.botsford@dickiwolf.com"], ["password_digest", "$2a$04$l9w.pwxmXIEmWKm82lYHduIOxDkA8QbTsjN59czaoJOYlt9czgDmy"], ["created_at", "2018-09-05 19:27:41.077583"], ["updated_at", "2018-09-05 19:27:41.077583"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Celine Rice"], ["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", "Celine Rice"], ["authorized_by", "Renita Lehner"], ["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 19:27:41.084847"], ["updated_at", "2018-09-05 19:27:41.084847"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#show as HTML + Parameters: {"id"=>"2"} + Mks::Auth::User Load (1.0ms) 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.7ms) 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.6ms) 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.47ms) +Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 2.3ms) +  (0.8ms) 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", "janay@deckow.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", "Shondra Considine"], ["last_name", "Freida Haley"], ["email", "janay@deckow.co.uk"], ["password_digest", "$2a$04$EXohCGeajsr5EMyfCUG96uF7zCbsNqx3//gHggsAbLKb9cHatam5G"], ["created_at", "2018-09-05 19:27:41.104056"], ["updated_at", "2018-09-05 19:27:41.104056"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests" +  (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", "Bennie Kessler"], ["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", "Polly Kohler"], ["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", "Bennie Kessler"], ["name", "Polly Kohler"], ["created_at", "2018-09-05 19:27:41.111595"], ["updated_at", "2018-09-05 19:27:41.111595"]] +  (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", "Carolyne Mante"], ["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", "Carolyne Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.116280"], ["updated_at", "2018-09-05 19:27:41.116280"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + 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", "Song Smith"], ["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", "Song Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.122213"], ["updated_at", "2018-09-05 19:27:41.122213"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Charlene Miller"], ["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", "Charlene Miller"], ["name", "Elsy Connelly"], ["address", "Margeret Schroeder"], ["created_at", "2018-09-05 19:27:41.129395"], ["updated_at", "2018-09-05 19:27:41.129395"]] +  (0.9ms) 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", "Noe Klocko"], ["service_delivery_unit_id", 11], ["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", "Noe Klocko"], ["name", "Karla Stokes"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 19:27:41.135626"], ["updated_at", "2018-09-05 19:27:41.135626"]] + Mks::Rate::ServiceDeliveryUnit Load (1.4ms) 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Noe Klocko"], ["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", "Noe Klocko"], ["name", "Karla Stokes"], ["description", "Default bundle for service 'Karla Stokes'"], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 19:27:41.142565"], ["updated_at", "2018-09-05 19:27:41.142565"]] + 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", 12], ["chargeable_service_id", 12]] +  (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", "Joslyn Gerhold"], ["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", "Marti Johnston"], ["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", "Joslyn Gerhold"], ["name", "Marti Johnston"], ["created_at", "2018-09-05 19:27:41.151874"], ["updated_at", "2018-09-05 19:27:41.151874"]] +  (0.5ms) 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", "Camelia Wehner"], ["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", "Camelia Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.157593"], ["updated_at", "2018-09-05 19:27:41.157593"]] +  (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", "Karin Huels"], ["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", "Karin Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.163307"], ["updated_at", "2018-09-05 19:27:41.163307"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Theola Hagenes"], ["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", "Theola Hagenes"], ["name", "Shelby Legros"], ["address", "Opal Abbott"], ["created_at", "2018-09-05 19:27:41.168457"], ["updated_at", "2018-09-05 19:27:41.168457"]] +  (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", "Deetta Nicolas"], ["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", "Deetta Nicolas"], ["name", "Patty Gutkowski"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 19:27:41.173210"], ["updated_at", "2018-09-05 19:27:41.173210"]] + 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", 12], ["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", "Deetta Nicolas"], ["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", "Deetta Nicolas"], ["name", "Patty Gutkowski"], ["description", "Default bundle for service 'Patty Gutkowski'"], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 19:27:41.178200"], ["updated_at", "2018-09-05 19:27:41.178200"]] + 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", 13], ["chargeable_service_id", 13]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Minta Schultz"], ["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", "Elton Gulgowski"], ["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", "Minta Schultz"], ["name", "Elton Gulgowski"], ["description", "Ut explicabo velit deleniti voluptate minus quia unde ut. Molestias atque culpa qui non. Consequatur qui eos molestiae dignissimos voluptatem illo voluptas expedita. Ipsa quaerat omnis dolores velit odit excepturi."], ["created_at", "2018-09-05 19:27:41.255604"], ["updated_at", "2018-09-05 19:27:41.255604"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kimberly Frami"], ["LIMIT", 1]] + Mks::Edm::EquipmentCategory Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Louetta Pagac"], ["LIMIT", 1]] + Mks::Edm::EquipmentCategory Create (1.2ms) 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", "Kimberly Frami"], ["name", "Louetta Pagac"], ["description", "Molestiae magnam eos aut consequuntur quisquam rem quas. Cumque voluptatibus dolorem amet consequatur. Placeat et perspiciatis libero dolores aut nesciunt blanditiis numquam."], ["equipment_type_id", 1], ["created_at", "2018-09-05 19:27:41.264200"], ["updated_at", "2018-09-05 19:27:41.264200"]] +  (0.4ms) 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", "Sang Ondricka"], ["LIMIT", 1]] + Mks::Edm::Equipment Create (1.4ms) 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", "Sang Ondricka"], ["name", "Maude Wuckert"], ["description", "Samuel Jaskolski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 19:27:41.270343"], ["updated_at", "2018-09-05 19:27:41.270343"]] +  (0.5ms) 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", "Angel Cormier"], ["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", "Clarence Roberts"], ["LIMIT", 1]] + Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angel Cormier"], ["name", "Clarence Roberts"], ["description", "Lacy Walsh"], ["created_at", "2018-09-05 19:27:41.303530"], ["updated_at", "2018-09-05 19:27:41.303530"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Valarie Beatty"], ["LIMIT", 1]] + Mks::Edm::EquipmentLocation Create (1.2ms) 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", "Valarie Beatty"], ["name", "Jenni Wolf"], ["location_type_id", 1], ["description", "Felisa Hermiston"], ["address", "Drew Blick"], ["created_at", "2018-09-05 19:27:41.309658"], ["updated_at", "2018-09-05 19:27:41.309658"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Romeo Cole"], ["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", "Brittany Labadie"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Create (1.7ms) 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", "Romeo Cole"], ["name", "Porfirio Barton"], ["description", "Ron Bosco"], ["serial_number", "Brittany Labadie"], ["brand", "Coralie Yost"], ["item_model", "Carlota Rutherford"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 19:27:41.318611"], ["updated_at", "2018-09-05 19:27:41.318611"]] +  (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", "Toshia Kunde"], ["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", "Cristen Koch"], ["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", "Toshia Kunde"], ["name", "Cristen Koch"], ["description", "Expedita voluptas vitae rerum quod numquam eos ut a. Minima est ea cumque nesciunt molestias. Quia sit eius a totam aliquid temporibus porro. Natus delectus quisquam expedita sunt qui officiis."], ["created_at", "2018-09-05 19:27:41.326245"], ["updated_at", "2018-09-05 19:27:41.326245"]] +  (0.4ms) 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", "Kasie Schiller"], ["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", "Rachell Hartmann"], ["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", "Kasie Schiller"], ["name", "Rachell Hartmann"], ["description", "Omnis omnis modi ipsum deleniti est. Sunt dolor delectus asperiores et impedit eaque quia est. Enim eveniet quae in eum. Ut tempore deserunt iste assumenda. Autem enim nostrum et voluptatum nulla."], ["equipment_type_id", 2], ["created_at", "2018-09-05 19:27:41.331637"], ["updated_at", "2018-09-05 19:27:41.331637"]] +  (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", "Jermaine Cartwright"], ["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", "Jermaine Cartwright"], ["name", "Margaret Kassulke"], ["description", "Moshe Berge"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 19:27:41.335962"], ["updated_at", "2018-09-05 19:27:41.335962"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Geraldo Robel"], ["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", "Phylis Lakin"], ["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", "Geraldo Robel"], ["name", "Phylis Lakin"], ["description", "Ammie Dare"], ["created_at", "2018-09-05 19:27:41.341502"], ["updated_at", "2018-09-05 19:27:41.341502"]] +  (0.4ms) 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", "Tamera Yost"], ["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", "Tamera Yost"], ["name", "Janay O'Connell"], ["location_type_id", 2], ["description", "Virgen Bogan"], ["address", "Lesley Wehner"], ["created_at", "2018-09-05 19:27:41.345405"], ["updated_at", "2018-09-05 19:27:41.345405"]] +  (0.4ms) 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", "Delois Monahan"], ["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", "Merri Fritsch"], ["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", "Delois Monahan"], ["name", "Blythe Stamm"], ["description", "Clarita Bergstrom"], ["serial_number", "Merri Fritsch"], ["brand", "Jamey Stroman"], ["item_model", "Dona D'Amore"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 19:27:41.350513"], ["updated_at", "2018-09-05 19:27:41.350513"]] +  (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", "corey@frami.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", "Ming Douglas"], ["last_name", "Velma Smitham"], ["email", "corey@frami.name"], ["password_digest", "$2a$04$s.w8A3zpGjIrPg1hugegxenjIdxug9Abn6CCGBDlc8oGwVy0UyHke"], ["created_at", "2018-09-05 19:27:41.357153"], ["updated_at", "2018-09-05 19:27:41.357153"]] +  (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", "asuncion@schroeder.co.uk"], ["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", "Sheila Wilkinson"], ["last_name", "Magdalena Kuhn"], ["email", "asuncion@schroeder.co.uk"], ["password_digest", "$2a$04$S8Z1lLLgwKoKMSE8kuiDE.DSum1pgh1xe3UuQ4GvneY1kzwMQsTm2"], ["created_at", "2018-09-05 19:27:41.363233"], ["updated_at", "2018-09-05 19:27:41.363233"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#create as HTML + Parameters: {"rate_change_request"=>{"approved_by_id"=>"16", "authorized_by"=>"Loria Greenfelder", "authorized_on"=>"2018-09-05", "created_by_id"=>"15", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"12", "chargeable_service_name"=>"Patty Gutkowski", "equipment_item_id"=>"1", "equipment_item_name"=>"Blythe Stamm", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Alysa Dibbert", "status"=>"SUBMITTED"}} + 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]] + 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.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 LIMIT $2 [["reference_number", "Alysa Dibbert"], ["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", "Alysa Dibbert"], ["authorized_by", "Loria Greenfelder"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"12\",\"chargeable_service_name\":\"Patty Gutkowski\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Blythe Stamm\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 14], ["approved_by_id", 16], ["created_at", "2018-09-05 19:27:41.374482"], ["updated_at", "2018-09-05 19:27:41.374482"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.17ms) + 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]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) +Completed 201 Created in 14ms (Views: 1.4ms | ActiveRecord: 5.2ms) +  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests" +  (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", "vanda.kiehn@berge.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", "Forrest Hermiston"], ["last_name", "Beryl Pouros"], ["email", "vanda.kiehn@berge.com"], ["password_digest", "$2a$04$wgVyCU5/fUGRxOrIazaMbeZOWSVlvIsBaUJE02V58ZhmhrY9/ltFS"], ["created_at", "2018-09-05 19:27:41.391224"], ["updated_at", "2018-09-05 19:27:41.391224"]] +  (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", "Gretta Mayer"], ["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", "Shona Tromp"], ["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", "Gretta Mayer"], ["name", "Shona Tromp"], ["created_at", "2018-09-05 19:27:41.397424"], ["updated_at", "2018-09-05 19:27:41.397424"]] +  (0.4ms) 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", "Charline Fadel"], ["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", "Charline Fadel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.402097"], ["updated_at", "2018-09-05 19:27:41.402097"]] +  (1.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", "Sherrell Jenkins"], ["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", "Sherrell Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.413585"], ["updated_at", "2018-09-05 19:27:41.413585"]] +  (0.4ms) 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", "Marian McDermott"], ["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", "Marian McDermott"], ["name", "Wally Welch"], ["address", "Phillip McCullough"], ["created_at", "2018-09-05 19:27:41.418109"], ["updated_at", "2018-09-05 19:27:41.418109"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) 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", "Alphonse Bergnaum"], ["service_delivery_unit_id", 13], ["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", "Alphonse Bergnaum"], ["name", "Johnie Friesen"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 19:27:41.424162"], ["updated_at", "2018-09-05 19:27:41.424162"]] + 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", 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", "Alphonse Bergnaum"], ["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", "Alphonse Bergnaum"], ["name", "Johnie Friesen"], ["description", "Default bundle for service 'Johnie Friesen'"], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 19:27:41.429089"], ["updated_at", "2018-09-05 19:27:41.429089"]] + 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", 14], ["chargeable_service_id", 14]] +  (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", "Nakesha Grady"], ["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", "Adelina Fahey"], ["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", "Nakesha Grady"], ["name", "Adelina Fahey"], ["created_at", "2018-09-05 19:27:41.437863"], ["updated_at", "2018-09-05 19:27:41.437863"]] +  (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", "Darryl Hansen"], ["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", "Darryl Hansen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.442902"], ["updated_at", "2018-09-05 19:27:41.442902"]] +  (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", "Myles Lakin"], ["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", "Myles Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.448213"], ["updated_at", "2018-09-05 19:27:41.448213"]] +  (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", "Nicol Abernathy"], ["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", "Nicol Abernathy"], ["name", "Kent Dach"], ["address", "Ok Halvorson"], ["created_at", "2018-09-05 19:27:41.452874"], ["updated_at", "2018-09-05 19:27:41.452874"]] +  (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", "Dorothy Mills"], ["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", "Dorothy Mills"], ["name", "Karima Hirthe"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 19:27:41.457669"], ["updated_at", "2018-09-05 19:27:41.457669"]] + 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", "Dorothy Mills"], ["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", "Dorothy Mills"], ["name", "Karima Hirthe"], ["description", "Default bundle for service 'Karima Hirthe'"], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 19:27:41.462476"], ["updated_at", "2018-09-05 19:27:41.462476"]] + 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", 15], ["chargeable_service_id", 15]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Asha Wunsch"], ["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", "Latrina Monahan"], ["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", "Asha Wunsch"], ["name", "Latrina Monahan"], ["description", "Minima deleniti numquam ipsam voluptas assumenda doloribus. Consectetur nostrum esse eum autem minus ut quasi. Sunt et dicta repellat atque provident. Deserunt totam nostrum optio dolorum laboriosam numquam perspiciatis vel."], ["created_at", "2018-09-05 19:27:41.473909"], ["updated_at", "2018-09-05 19:27:41.473909"]] +  (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", "Salena Jaskolski"], ["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", "Jerrod Howe"], ["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", "Salena Jaskolski"], ["name", "Jerrod Howe"], ["description", "Quos rerum a ut facilis. Aut tempora ut et asperiores occaecati. Enim aut dolorem rerum eligendi voluptatem corporis. Laboriosam et enim consectetur ut ratione libero. Est tenetur deleniti odit repellat."], ["equipment_type_id", 3], ["created_at", "2018-09-05 19:27:41.480244"], ["updated_at", "2018-09-05 19:27:41.480244"]] +  (1.0ms) 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", "Joette Johns"], ["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", "Joette Johns"], ["name", "Alva Kirlin"], ["description", "Claretha Bergnaum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 19:27:41.487432"], ["updated_at", "2018-09-05 19:27:41.487432"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Laureen Rogahn"], ["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", "Modesto Shanahan"], ["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", "Laureen Rogahn"], ["name", "Modesto Shanahan"], ["description", "Vincent Ankunding"], ["created_at", "2018-09-05 19:27:41.495905"], ["updated_at", "2018-09-05 19:27:41.495905"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Katherine Reilly"], ["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", "Katherine Reilly"], ["name", "Eleonora Hayes"], ["location_type_id", 3], ["description", "Camelia Greenholt"], ["address", "Joaquina Bartell"], ["created_at", "2018-09-05 19:27:41.500921"], ["updated_at", "2018-09-05 19:27:41.500921"]] +  (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", "Mira 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", "Tressie Kunde"], ["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", "Mira Ward"], ["name", "Wally Braun"], ["description", "Angela Ankunding"], ["serial_number", "Tressie Kunde"], ["brand", "Oralia Hilpert"], ["item_model", "Shantelle Huels"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 19:27:41.506988"], ["updated_at", "2018-09-05 19:27:41.506988"]] +  (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", "Emery Goyette"], ["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", "Cher Lesch"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Create (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emery Goyette"], ["name", "Cher Lesch"], ["description", "Est similique cum neque quibusdam iste itaque. Ut ut veniam eligendi voluptatem et nemo. Dignissimos asperiores tempora pariatur iusto molestias eaque provident veniam."], ["created_at", "2018-09-05 19:27:41.513965"], ["updated_at", "2018-09-05 19:27:41.513965"]] +  (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", "Yetta Goodwin"], ["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", "Josie Boyer"], ["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", "Yetta Goodwin"], ["name", "Josie Boyer"], ["description", "Excepturi consequatur aut doloribus delectus quia. Quaerat aut quo dolorum ullam corrupti. Voluptatem voluptas ea eum enim. Sed id iure amet aperiam. Voluptates repudiandae modi debitis voluptatem."], ["equipment_type_id", 4], ["created_at", "2018-09-05 19:27:41.520211"], ["updated_at", "2018-09-05 19:27:41.520211"]] +  (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", "Denver Fritsch"], ["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", "Denver Fritsch"], ["name", "Aisha Lindgren"], ["description", "Ariane Kunze"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 19:27:41.524726"], ["updated_at", "2018-09-05 19:27:41.524726"]] +  (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", "Tawny Hintz"], ["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", "Sally Hane"], ["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", "Tawny Hintz"], ["name", "Sally Hane"], ["description", "Federico Ebert"], ["created_at", "2018-09-05 19:27:41.531192"], ["updated_at", "2018-09-05 19:27:41.531192"]] +  (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", "Willy Braun"], ["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", "Willy Braun"], ["name", "Eryn Ebert"], ["location_type_id", 4], ["description", "Denese Pfannerstill"], ["address", "Kiley Abbott"], ["created_at", "2018-09-05 19:27:41.535443"], ["updated_at", "2018-09-05 19:27:41.535443"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Daryl Simonis"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Elly McDermott"], ["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", "Daryl Simonis"], ["name", "Solange Schuppe"], ["description", "Norbert Quigley"], ["serial_number", "Elly McDermott"], ["brand", "Verlie Mertz"], ["item_model", "Olivia Cassin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 19:27:41.542102"], ["updated_at", "2018-09-05 19:27:41.542102"]] +  (0.6ms) 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", "tessie@schultz.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", "Sydney Cartwright"], ["last_name", "Wei Stanton"], ["email", "tessie@schultz.us"], ["password_digest", "$2a$04$0fqw/77Gnot7mqdM5NYvUeA0nzJ/NDaNt8O7YUHK773rXKwzwSmA6"], ["created_at", "2018-09-05 19:27:41.549206"], ["updated_at", "2018-09-05 19:27:41.549206"]] +  (0.5ms) 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", "ebony.powlowski@daniel.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", "Lissette Klein"], ["last_name", "Lawanda Kilback"], ["email", "ebony.powlowski@daniel.co.uk"], ["password_digest", "$2a$04$wPfA70Bh6nA0OFwKeTSfq.e0tlaORUwDDa/kW8TNuvTcD9j6CZW6e"], ["created_at", "2018-09-05 19:27:41.555665"], ["updated_at", "2018-09-05 19:27:41.555665"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#create as HTML + Parameters: {"rate_change_request"=>{"approved_by_id"=>"19", "authorized_by"=>"Tierra Abernathy", "authorized_on"=>"2018-09-05", "created_by_id"=>"18", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"14", "chargeable_service_name"=>"Karima Hirthe", "equipment_item_id"=>"3", "equipment_item_name"=>"Solange Schuppe", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Cecil Denesik", "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", 17], ["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", 17], ["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", "Cecil Denesik"], ["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", "Cecil Denesik"], ["authorized_by", "Tierra Abernathy"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"14\",\"chargeable_service_name\":\"Karima Hirthe\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Solange Schuppe\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 17], ["approved_by_id", 19], ["created_at", "2018-09-05 19:27:41.565947"], ["updated_at", "2018-09-05 19:27:41.565947"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.16ms) + Mks::Auth::User Load (0.6ms) 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.39ms) +Completed 201 Created in 12ms (Views: 1.4ms | ActiveRecord: 5.0ms) +  (1.4ms) ROLLBACK +  (0.6ms) 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", "nilda_jacobi@hand.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", "Hugo Swift"], ["last_name", "Tereasa Kutch"], ["email", "nilda_jacobi@hand.us"], ["password_digest", "$2a$04$7TTFonh5i0Gq/edAfC2kAefJsQ7UhmI.gqDw6.28KRyJLjCZ7hR9m"], ["created_at", "2018-09-05 19:27:41.581268"], ["updated_at", "2018-09-05 19:27:41.581268"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Huey Kunze"], ["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", "Melodie Trantow"], ["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", "Huey Kunze"], ["name", "Melodie Trantow"], ["created_at", "2018-09-05 19:27:41.590700"], ["updated_at", "2018-09-05 19:27:41.590700"]] +  (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", "Madeline Rolfson"], ["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", "Madeline Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.597316"], ["updated_at", "2018-09-05 19:27:41.597316"]] +  (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", "Julianna Waters"], ["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", "Julianna Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.602137"], ["updated_at", "2018-09-05 19:27:41.602137"]] +  (1.2ms) 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", "Melynda Ratke"], ["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", "Melynda Ratke"], ["name", "Salena Trantow"], ["address", "Yesenia Mueller"], ["created_at", "2018-09-05 19:27:41.609233"], ["updated_at", "2018-09-05 19:27:41.609233"]] +  (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", "Alesia Buckridge"], ["service_delivery_unit_id", 15], ["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", "Alesia Buckridge"], ["name", "Jesusa Treutel"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 19:27:41.614365"], ["updated_at", "2018-09-05 19:27:41.614365"]] + 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", "Alesia Buckridge"], ["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", "Alesia Buckridge"], ["name", "Jesusa Treutel"], ["description", "Default bundle for service 'Jesusa Treutel'"], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 19:27:41.619360"], ["updated_at", "2018-09-05 19:27:41.619360"]] + 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", 16], ["chargeable_service_id", 16]] +  (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", "Myrtice Simonis"], ["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", "Rutha Herman"], ["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", "Myrtice Simonis"], ["name", "Rutha Herman"], ["created_at", "2018-09-05 19:27:41.628177"], ["updated_at", "2018-09-05 19:27:41.628177"]] +  (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", "Jung Kling"], ["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", "Jung Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.633053"], ["updated_at", "2018-09-05 19:27:41.633053"]] +  (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", "Caleb Runolfsdottir"], ["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", "Caleb Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.637874"], ["updated_at", "2018-09-05 19:27:41.637874"]] +  (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", "Emerald Hermann"], ["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", "Emerald Hermann"], ["name", "Lynna Jacobi"], ["address", "Jacelyn Crist"], ["created_at", "2018-09-05 19:27:41.642290"], ["updated_at", "2018-09-05 19:27:41.642290"]] +  (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", "Sha Beahan"], ["service_delivery_unit_id", 16], ["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", "Sha Beahan"], ["name", "Ludie Huels"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 19:27:41.646902"], ["updated_at", "2018-09-05 19:27:41.646902"]] + 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", 16], ["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", "Sha Beahan"], ["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", "Sha Beahan"], ["name", "Ludie Huels"], ["description", "Default bundle for service 'Ludie Huels'"], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 19:27:41.651746"], ["updated_at", "2018-09-05 19:27:41.651746"]] + 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.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", "Alethea Stracke"], ["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", "Corene Cartwright"], ["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", "Alethea Stracke"], ["name", "Corene Cartwright"], ["description", "Ratione et nihil et voluptatum cumque error. Voluptatibus impedit fugit maxime suscipit voluptatum et distinctio explicabo. Asperiores omnis recusandae voluptatem molestiae. Placeat corporis sed sunt quia nihil alias tenetur et. Aliquid officia omnis fuga alias."], ["created_at", "2018-09-05 19:27:41.661650"], ["updated_at", "2018-09-05 19:27:41.661650"]] +  (0.5ms) 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", "Lucila Hane"], ["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", "Elaine Hoppe"], ["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", "Lucila Hane"], ["name", "Elaine Hoppe"], ["description", "Quis earum repellat quos in fugiat voluptatem. Impedit omnis delectus exercitationem quia officia. Ea sed maiores culpa eum laborum labore ut et. Suscipit quo dolor enim dolore."], ["equipment_type_id", 5], ["created_at", "2018-09-05 19:27:41.667043"], ["updated_at", "2018-09-05 19:27:41.667043"]] +  (0.6ms) 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", "Chas Hermann"], ["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", "Chas Hermann"], ["name", "Silvana Beier"], ["description", "Florencio Goldner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 19:27:41.671438"], ["updated_at", "2018-09-05 19:27:41.671438"]] +  (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", "Denyse Waters"], ["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", "Lashell Thompson"], ["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", "Denyse Waters"], ["name", "Lashell Thompson"], ["description", "Luigi West"], ["created_at", "2018-09-05 19:27:41.677915"], ["updated_at", "2018-09-05 19:27:41.677915"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Margit Price"], ["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", "Margit Price"], ["name", "Echo Langworth"], ["location_type_id", 5], ["description", "Richelle Beer"], ["address", "Robbie Greenholt"], ["created_at", "2018-09-05 19:27:41.684181"], ["updated_at", "2018-09-05 19:27:41.684181"]] +  (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", "Jutta Cummerata"], ["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", "Vita Franecki"], ["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", "Jutta Cummerata"], ["name", "Leonie Ortiz"], ["description", "Lakeisha Mills"], ["serial_number", "Vita Franecki"], ["brand", "Verona Schamberger"], ["item_model", "Ardath Sawayn"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 19:27:41.690118"], ["updated_at", "2018-09-05 19:27:41.690118"]] +  (0.6ms) 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", "Ceola Altenwerth"], ["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", "Carita McGlynn"], ["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", "Ceola Altenwerth"], ["name", "Carita McGlynn"], ["description", "Reprehenderit dicta necessitatibus est sequi quia. Debitis rerum quam expedita enim omnis sed vero. Laborum quisquam reprehenderit deserunt rerum unde porro doloremque quis. Dolorum similique itaque aliquam aut beatae repellendus."], ["created_at", "2018-09-05 19:27:41.697333"], ["updated_at", "2018-09-05 19:27:41.697333"]] +  (0.5ms) 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", "Kattie Lemke"], ["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", "Claretha Keeling"], ["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", "Kattie Lemke"], ["name", "Claretha Keeling"], ["description", "Necessitatibus rerum veritatis consequatur cumque occaecati sed inventore nobis. Optio quam sunt aut facilis aut. Unde eum sunt dignissimos veritatis sed autem magni. Minima minus saepe autem labore. Vel eos eum ab iure."], ["equipment_type_id", 6], ["created_at", "2018-09-05 19:27:41.702698"], ["updated_at", "2018-09-05 19:27:41.702698"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Stanley Doyle"], ["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", "Stanley Doyle"], ["name", "Willena Braun"], ["description", "Nancie Bergstrom"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 19:27:41.707248"], ["updated_at", "2018-09-05 19:27:41.707248"]] +  (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", "Renita Haley"], ["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", "Colleen Goldner"], ["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", "Renita Haley"], ["name", "Colleen Goldner"], ["description", "Sandee Prohaska"], ["created_at", "2018-09-05 19:27:41.713152"], ["updated_at", "2018-09-05 19:27:41.713152"]] +  (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", "Ria Fay"], ["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", "Ria Fay"], ["name", "Julian Price"], ["location_type_id", 6], ["description", "Ariel Koelpin"], ["address", "Kyra Bahringer"], ["created_at", "2018-09-05 19:27:41.717459"], ["updated_at", "2018-09-05 19:27:41.717459"]] +  (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", "Joaquina Lemke"], ["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", "Shonna Kris"], ["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", "Joaquina Lemke"], ["name", "Andria Wisoky"], ["description", "Genie Kunde"], ["serial_number", "Shonna Kris"], ["brand", "Aubrey Sporer"], ["item_model", "Elease Becker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 19:27:41.722908"], ["updated_at", "2018-09-05 19:27:41.722908"]] +  (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", "jeffery_homenick@kling.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", "Kizzie Bode"], ["last_name", "Keven Goodwin"], ["email", "jeffery_homenick@kling.us"], ["password_digest", "$2a$04$GuGzlgxT0rRL9ZoVtU9mQenvy/vOihgv1isae/oybJsO/l4bEGW66"], ["created_at", "2018-09-05 19:27:41.729876"], ["updated_at", "2018-09-05 19:27:41.729876"]] +  (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", "january@bruen.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", "Alfonso Stamm"], ["last_name", "Taylor Moen"], ["email", "january@bruen.name"], ["password_digest", "$2a$04$a6xGOMvQ7A7Lfw/u.psovuMIZ4ukwojaKcPcQmyWQ1jecGj3r0Niy"], ["created_at", "2018-09-05 19:27:41.735953"], ["updated_at", "2018-09-05 19:27:41.735953"]] +  (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"=>"Cathi Nienow", "authorized_on"=>"2018-09-05", "created_by_id"=>"21", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"16", "chargeable_service_name"=>"Ludie Huels", "equipment_item_id"=>"5", "equipment_item_name"=>"Andria Wisoky", "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 (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] +  (0.7ms) 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", ""], ["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", 20], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) +Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.4ms) +  (0.7ms) ROLLBACK +  (0.5ms) 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", "bambi@hoegergrimes.com"], ["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", "Antony Stehr"], ["last_name", "Alexander Lindgren"], ["email", "bambi@hoegergrimes.com"], ["password_digest", "$2a$04$6u/d13IcuEYAr/WocO24P.L.rszCdmHD2DSlkoo3DtYv.AVrGUxnO"], ["created_at", "2018-09-05 19:27:41.759436"], ["updated_at", "2018-09-05 19:27:41.759436"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lavonna.bahringer@smitham.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", "Trent Lehner"], ["last_name", "Sunday Schowalter"], ["email", "lavonna.bahringer@smitham.biz"], ["password_digest", "$2a$04$t3Glc1jwQRc3jvb663Zd2e60WjvzjNARiRI/UaL3gBDecJtXvbmF."], ["created_at", "2018-09-05 19:27:41.770653"], ["updated_at", "2018-09-05 19:27:41.770653"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) 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", "marlena@langoshgerhold.us"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Delorse Metz"], ["last_name", "Caprice Aufderhar"], ["email", "marlena@langoshgerhold.us"], ["password_digest", "$2a$04$Q/.L1NkTq7Xlk0mXBQ0J/eV3j5aIow5foy7R8iqM5yTH.kz179jFK"], ["created_at", "2018-09-05 19:27:41.781455"], ["updated_at", "2018-09-05 19:27:41.781455"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Cheree Abshire"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (3.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", "Cheree Abshire"], ["authorized_by", "Tyler Wolff"], ["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 19:27:41.791822"], ["updated_at", "2018-09-05 19:27:41.791822"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#update as HTML + Parameters: {"rate_change_request"=>{"authorized_by"=>"Raymond Kreiger"}, "id"=>"5"} + Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Load (1.2ms) 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]] +  (1.1ms) 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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Cheree Abshire"], ["id", 5], ["LIMIT", 1]] + Mks::Auth::User Load (1.2ms) 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.9ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Raymond Kreiger"], ["updated_at", "2018-09-05 19:27:41.812203"], ["id", 5]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.25ms) + 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.56ms) +Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 9.9ms) + Mks::Rate::RateChangeRequest Load (1.3ms) 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]] +  (1.1ms) ROLLBACK +  (0.7ms) BEGIN +  (1.0ms) 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", "delores.kutch@schroederrunte.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", "Minta Pacocha"], ["last_name", "Genesis Ernser"], ["email", "delores.kutch@schroederrunte.ca"], ["password_digest", "$2a$04$B.JzPlKWzhhg0MrJ/FzqruE0XfZlkDXv2d.XaulxaWUc1synosAq6"], ["created_at", "2018-09-05 19:27:41.834489"], ["updated_at", "2018-09-05 19:27:41.834489"]] +  (1.3ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "hilma@gusikowski.info"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Nancee Romaguera"], ["last_name", "Spencer Kutch"], ["email", "hilma@gusikowski.info"], ["password_digest", "$2a$04$40.SeRaeNqTAAW.AVQyyyuHcDkKaqu39mQMSQWufBjB8YNGvS8isu"], ["created_at", "2018-09-05 19:27:41.846189"], ["updated_at", "2018-09-05 19:27:41.846189"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) 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", "stephaine_mills@dubuque.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", "Regena Ferry"], ["last_name", "Carolina Franecki"], ["email", "stephaine_mills@dubuque.com"], ["password_digest", "$2a$04$8BkHIywrE/F8J.ODnr65lOe2InzCvWUzewrnUUBtY.L/Hrd5Tvw0u"], ["created_at", "2018-09-05 19:27:41.857656"], ["updated_at", "2018-09-05 19:27:41.857656"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Rate::RateChangeRequest Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Latesha Weimann"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (1.3ms) 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", "Latesha Weimann"], ["authorized_by", "Renna Ledner"], ["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 19:27:41.864386"], ["updated_at", "2018-09-05 19:27:41.864386"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Jada Kihn"], ["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", "Tony Littel"], ["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", "Jada Kihn"], ["name", "Tony Littel"], ["created_at", "2018-09-05 19:27:41.873948"], ["updated_at", "2018-09-05 19:27:41.873948"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Cassidy Abshire"], ["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", "Cassidy Abshire"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.882162"], ["updated_at", "2018-09-05 19:27:41.882162"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) SAVEPOINT active_record_1 + Mks::Rate::UnitOfCharge Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Randee Green"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Randee Green"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.891866"], ["updated_at", "2018-09-05 19:27:41.891866"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) 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", "Brittny Beer"], ["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", "Brittny Beer"], ["name", "Carlyn Abbott"], ["address", "Antonietta Graham"], ["created_at", "2018-09-05 19:27:41.900759"], ["updated_at", "2018-09-05 19:27:41.900759"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.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", "Brooke Schiller"], ["service_delivery_unit_id", 17], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (1.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", "Brooke Schiller"], ["name", "Marlen Hirthe"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 19:27:41.910894"], ["updated_at", "2018-09-05 19:27:41.910894"]] + Mks::Rate::ServiceDeliveryUnit Load (1.1ms) 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 (1.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brooke Schiller"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (2.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", "Brooke Schiller"], ["name", "Marlen Hirthe"], ["description", "Default bundle for service 'Marlen Hirthe'"], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 19:27:41.920032"], ["updated_at", "2018-09-05 19:27:41.920032"]] + Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms) 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]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Eusebia Bernhard"], ["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", "Robby Parker"], ["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", "Eusebia Bernhard"], ["name", "Robby Parker"], ["created_at", "2018-09-05 19:27:41.936572"], ["updated_at", "2018-09-05 19:27:41.936572"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) SAVEPOINT active_record_1 + Mks::Rate::UnitOfCharge Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mose Eichmann"], ["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", "Mose Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.945800"], ["updated_at", "2018-09-05 19:27:41.945800"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Hanna Hyatt"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hanna Hyatt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.955077"], ["updated_at", "2018-09-05 19:27:41.955077"]] +  (1.5ms) RELEASE SAVEPOINT active_record_1 +  (1.5ms) 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", "Lean Pfeffer"], ["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", "Lean Pfeffer"], ["name", "Ramonita Abernathy"], ["address", "Yetta Becker"], ["created_at", "2018-09-05 19:27:41.965621"], ["updated_at", "2018-09-05 19:27:41.965621"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (1.7ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.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", "Chun Schaefer"], ["service_delivery_unit_id", 18], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (3.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", "Chun Schaefer"], ["name", "Su Kreiger"], ["service_type_id", 20], ["base_unit_id", 39], ["utilization_unit_id", 40], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 19:27:41.977226"], ["updated_at", "2018-09-05 19:27:41.977226"]] + Mks::Rate::ServiceDeliveryUnit Load (1.6ms) 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 (2.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chun Schaefer"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (2.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", "Chun Schaefer"], ["name", "Su Kreiger"], ["description", "Default bundle for service 'Su Kreiger'"], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 19:27:41.989498"], ["updated_at", "2018-09-05 19:27:41.989498"]] + Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.8ms) 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]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (5.0ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentType Exists (4.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Joanna Schultz"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ingeborg Abbott"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Create (1.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joanna Schultz"], ["name", "Ingeborg Abbott"], ["description", "Cum dolor laudantium veniam odio omnis tempore alias. Ipsa nisi est maiores et. Placeat et inventore aliquam voluptatum ipsam voluptatem ut. Magnam voluptates voluptatem velit sunt recusandae doloremque."], ["created_at", "2018-09-05 19:27:42.015487"], ["updated_at", "2018-09-05 19:27:42.015487"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Wayne Upton"], ["LIMIT", 1]] + Mks::Edm::EquipmentCategory Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Melba McDermott"], ["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", "Wayne Upton"], ["name", "Melba McDermott"], ["description", "Laboriosam eos dolorem et distinctio cupiditate dolores nihil rerum. Libero ut enim omnis totam. Sint quidem quasi ut libero neque. Ab dolorum pariatur perspiciatis debitis dolor et in. Vel cupiditate sed pariatur qui vitae rerum qui voluptates."], ["equipment_type_id", 7], ["created_at", "2018-09-05 19:27:42.027085"], ["updated_at", "2018-09-05 19:27:42.027085"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Masako Schultz"], ["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", "Masako Schultz"], ["name", "Arnoldo Stark"], ["description", "Annamaria Hammes"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 19:27:42.032210"], ["updated_at", "2018-09-05 19:27:42.032210"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Maryellen Trantow"], ["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", "Romana Jast"], ["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", "Maryellen Trantow"], ["name", "Romana Jast"], ["description", "Somer Heller"], ["created_at", "2018-09-05 19:27:42.039203"], ["updated_at", "2018-09-05 19:27:42.039203"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Meghan Schaden"], ["LIMIT", 1]] + Mks::Edm::EquipmentLocation Create (1.2ms) 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", "Meghan Schaden"], ["name", "Vanesa Beatty"], ["location_type_id", 7], ["description", "Tomi Streich"], ["address", "Magnolia Stamm"], ["created_at", "2018-09-05 19:27:42.043995"], ["updated_at", "2018-09-05 19:27:42.043995"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Carma Jacobi"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Thi Oberbrunner"], ["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", "Carma Jacobi"], ["name", "Rita Rogahn"], ["description", "Alvaro Schimmel"], ["serial_number", "Thi Oberbrunner"], ["brand", "Cortney Schimmel"], ["item_model", "Roger Nienow"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 19:27:42.053049"], ["updated_at", "2018-09-05 19:27:42.053049"]] +  (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", "Lakia Friesen"], ["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", "Frances Wuckert"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Create (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lakia Friesen"], ["name", "Frances Wuckert"], ["description", "Debitis explicabo dolore est et. Voluptas sed exercitationem aliquam aut sequi. Sint et enim non sunt nobis."], ["created_at", "2018-09-05 19:27:42.061395"], ["updated_at", "2018-09-05 19:27:42.061395"]] +  (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", "Darcel Parisian"], ["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", "Stasia Eichmann"], ["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", "Darcel Parisian"], ["name", "Stasia Eichmann"], ["description", "Temporibus in voluptas et libero inventore dicta numquam fugit. Labore commodi porro sint quam voluptatibus repellendus delectus. Temporibus distinctio suscipit sint quo atque. Quasi culpa quia qui porro et tenetur atque quas. Quod in vitae enim blanditiis odio molestiae dolorum."], ["equipment_type_id", 8], ["created_at", "2018-09-05 19:27:42.067828"], ["updated_at", "2018-09-05 19:27:42.067828"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Yuk O'Reilly"], ["LIMIT", 1]] + Mks::Edm::Equipment Create (1.5ms) 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", "Yuk O'Reilly"], ["name", "Teena Torphy"], ["description", "Stasia Price"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 19:27:42.072444"], ["updated_at", "2018-09-05 19:27:42.072444"]] +  (17.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Keturah Kertzmann"], ["LIMIT", 1]] + Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Thalia Mann"], ["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", "Keturah Kertzmann"], ["name", "Thalia Mann"], ["description", "Blanche Hettinger"], ["created_at", "2018-09-05 19:27:42.098175"], ["updated_at", "2018-09-05 19:27:42.098175"]] +  (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", "Natividad Hodkiewicz"], ["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", "Natividad Hodkiewicz"], ["name", "Loria Senger"], ["location_type_id", 8], ["description", "Dorene Oberbrunner"], ["address", "Wally Goldner"], ["created_at", "2018-09-05 19:27:42.103301"], ["updated_at", "2018-09-05 19:27:42.103301"]] +  (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", "Penny Ruecker"], ["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", "Mindi Hodkiewicz"], ["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", "Penny Ruecker"], ["name", "Breanna Raynor"], ["description", "Mallory Conn"], ["serial_number", "Mindi Hodkiewicz"], ["brand", "Lizette Hessel"], ["item_model", "Temika Larkin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 19:27:42.109033"], ["updated_at", "2018-09-05 19:27:42.109033"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vi.rosenbaum@kertzmann.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", "Gidget Crooks"], ["last_name", "Lucrecia Cummings"], ["email", "vi.rosenbaum@kertzmann.com"], ["password_digest", "$2a$04$FgbwKbbrMcBjTzgMMT/SQ.c0w6qRjD2HHeXKRx48N58iHRWChho.i"], ["created_at", "2018-09-05 19:27:42.115206"], ["updated_at", "2018-09-05 19:27:42.115206"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ruthann.schulist@keebler.name"], ["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", "Verena O'Connell"], ["last_name", "Olivia Bahringer"], ["email", "ruthann.schulist@keebler.name"], ["password_digest", "$2a$04$R/6pSTJlMWJldkbZr7pxNuz.kph45SPXXNQRfmYzzHedguSeezY5O"], ["created_at", "2018-09-05 19:27:42.121116"], ["updated_at", "2018-09-05 19:27:42.121116"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::RateChangeRequestsController#update as HTML + Parameters: {"rate_change_request"=>{"approved_by_id"=>"30", "authorized_by"=>"Gilda Zboncak", "authorized_on"=>"2018-09-05", "created_by_id"=>"29", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"18", "chargeable_service_name"=>"Su Kreiger", "equipment_item_id"=>"7", "equipment_item_name"=>"Breanna Raynor", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Suzanne Powlowski", "status"=>"SUBMITTED"}, "id"=>"6"} + 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]] + Mks::Rate::RateChangeRequest Load (0.7ms) 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.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 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Suzanne Powlowski"], ["id", 6], ["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", 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", "Suzanne Powlowski"], ["authorized_by", "Gilda Zboncak"], ["created_by_id", 29], ["approved_by_id", 30], ["rates", "[{\"chargeable_service_id\":\"18\",\"chargeable_service_name\":\"Su Kreiger\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Breanna Raynor\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 19:27:42.132058"], ["id", 6]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.18ms) + 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.37ms) +Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 5.4ms) +  (0.8ms) ROLLBACK +  (0.4ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "alexis_steuber@schuster.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", "Rosetta Casper"], ["last_name", "Isaac Mayert"], ["email", "alexis_steuber@schuster.name"], ["password_digest", "$2a$04$ERaJbhCNRiudnRIuORakJO7DItFv.t7gkrRW257lrCmoDcxfkUxDq"], ["created_at", "2018-09-05 19:27:42.144935"], ["updated_at", "2018-09-05 19:27:42.144935"]] +  (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", "reynalda_mitchell@runolfssonlittel.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", "Zina Kulas"], ["last_name", "Lauri Cremin"], ["email", "reynalda_mitchell@runolfssonlittel.us"], ["password_digest", "$2a$04$oF3KzDR.ex4ma7EJC9z14eSVbhz3S0MkGHih06mDRmaJ4ThDDaSI."], ["created_at", "2018-09-05 19:27:42.152923"], ["updated_at", "2018-09-05 19:27:42.152923"]] +  (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", "shanti.hahn@goyette.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", "Dorathy Renner"], ["last_name", "Tressie Kunde"], ["email", "shanti.hahn@goyette.name"], ["password_digest", "$2a$04$DgkD4WvRfGnBWkZRUum4K.on/2tya6wmonyIn15etpyLL2iEb4126"], ["created_at", "2018-09-05 19:27:42.160826"], ["updated_at", "2018-09-05 19:27:42.160826"]] +  (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", "Cordelia Bradtke"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (1.3ms) 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", "Cordelia Bradtke"], ["authorized_by", "Isabelle Trantow"], ["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 19:27:42.165760"], ["updated_at", "2018-09-05 19:27:42.165760"]] +  (1.0ms) 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", "Magen Johnston"], ["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", "Jamey Lakin"], ["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", "Magen Johnston"], ["name", "Jamey Lakin"], ["created_at", "2018-09-05 19:27:42.174512"], ["updated_at", "2018-09-05 19:27:42.174512"]] +  (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", "Sibyl Brakus"], ["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", "Sibyl Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.179121"], ["updated_at", "2018-09-05 19:27:42.179121"]] +  (0.4ms) 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", "Lita Wiegand"], ["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", "Lita Wiegand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.183503"], ["updated_at", "2018-09-05 19:27:42.183503"]] +  (0.4ms) 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", "Bernadine Hintz"], ["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", "Bernadine Hintz"], ["name", "Mac Hahn"], ["address", "Sophie Rempel"], ["created_at", "2018-09-05 19:27:42.187748"], ["updated_at", "2018-09-05 19:27:42.187748"]] +  (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", "Curt Stroman"], ["service_delivery_unit_id", 19], ["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", "Curt Stroman"], ["name", "Jamaal Heaney"], ["service_type_id", 21], ["base_unit_id", 41], ["utilization_unit_id", 42], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 19:27:42.192787"], ["updated_at", "2018-09-05 19:27:42.192787"]] + 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", "Curt Stroman"], ["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", "Curt Stroman"], ["name", "Jamaal Heaney"], ["description", "Default bundle for service 'Jamaal Heaney'"], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 19:27:42.197536"], ["updated_at", "2018-09-05 19:27:42.197536"]] + 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", 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", "Van Rau"], ["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", "Elanor Glover"], ["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", "Van Rau"], ["name", "Elanor Glover"], ["created_at", "2018-09-05 19:27:42.208318"], ["updated_at", "2018-09-05 19:27:42.208318"]] +  (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", "Isaias 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", "Isaias Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.213327"], ["updated_at", "2018-09-05 19:27:42.213327"]] +  (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", "Sherron Prosacco"], ["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", "Sherron Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.217903"], ["updated_at", "2018-09-05 19:27:42.217903"]] +  (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", "Jasper Rutherford"], ["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", "Jasper Rutherford"], ["name", "Sheron Hyatt"], ["address", "Andre Durgan"], ["created_at", "2018-09-05 19:27:42.222568"], ["updated_at", "2018-09-05 19:27:42.222568"]] +  (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", "Sterling Romaguera"], ["service_delivery_unit_id", 20], ["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", "Sterling Romaguera"], ["name", "Nyla Upton"], ["service_type_id", 22], ["base_unit_id", 43], ["utilization_unit_id", 44], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 19:27:42.227571"], ["updated_at", "2018-09-05 19:27:42.227571"]] + Mks::Rate::ServiceDeliveryUnit Load (1.1ms) 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sterling Romaguera"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.5ms) 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", "Sterling Romaguera"], ["name", "Nyla Upton"], ["description", "Default bundle for service 'Nyla Upton'"], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 19:27:42.234895"], ["updated_at", "2018-09-05 19:27:42.234895"]] + 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", 21], ["chargeable_service_id", 21]] +  (1.9ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Tori Mertz"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Leslee Dickinson"], ["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", "Tori Mertz"], ["name", "Leslee Dickinson"], ["description", "Et iusto voluptatum numquam ut est voluptatem nostrum. Officiis rerum sunt molestiae perspiciatis. Consectetur non impedit et quis et esse et."], ["created_at", "2018-09-05 19:27:42.253375"], ["updated_at", "2018-09-05 19:27:42.253375"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Oneida Hayes"], ["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", "Sean Jaskolski"], ["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", "Oneida Hayes"], ["name", "Sean Jaskolski"], ["description", "Ad adipisci neque qui est dicta. Sint laborum non quia similique. Dignissimos quia corrupti quaerat et."], ["equipment_type_id", 9], ["created_at", "2018-09-05 19:27:42.262783"], ["updated_at", "2018-09-05 19:27:42.262783"]] +  (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", "Romeo Hane"], ["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", "Romeo Hane"], ["name", "Glen Frami"], ["description", "Zachary Pollich"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 19:27:42.267416"], ["updated_at", "2018-09-05 19:27:42.267416"]] +  (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", "Lieselotte Douglas"], ["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", "Eneida Smith"], ["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", "Lieselotte Douglas"], ["name", "Eneida Smith"], ["description", "Tobi Predovic"], ["created_at", "2018-09-05 19:27:42.273603"], ["updated_at", "2018-09-05 19:27:42.273603"]] +  (0.4ms) 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", "Emeline Legros"], ["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", "Emeline Legros"], ["name", "Angelo Dickinson"], ["location_type_id", 9], ["description", "Woodrow Hermann"], ["address", "Kenny Macejkovic"], ["created_at", "2018-09-05 19:27:42.277929"], ["updated_at", "2018-09-05 19:27:42.277929"]] +  (0.4ms) 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", "Keshia Williamson"], ["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", "Roseline Kassulke"], ["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", "Keshia Williamson"], ["name", "Nevada Muller"], ["description", "Elias Nienow"], ["serial_number", "Roseline Kassulke"], ["brand", "Katherin Davis"], ["item_model", "Janiece Harber"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 19:27:42.283389"], ["updated_at", "2018-09-05 19:27:42.283389"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Junie Schmeler"], ["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", "Kaila Hills"], ["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", "Junie Schmeler"], ["name", "Kaila Hills"], ["description", "Possimus asperiores in consequuntur nihil ipsa. Et sit enim et perspiciatis quis dolores. Vel aut illo est ea provident temporibus molestias."], ["created_at", "2018-09-05 19:27:42.290093"], ["updated_at", "2018-09-05 19:27:42.290093"]] +  (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", "Ashleigh Little"], ["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", "Mohammed Auer"], ["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", "Ashleigh Little"], ["name", "Mohammed Auer"], ["description", "Voluptas repellat enim reiciendis atque. Ut similique et natus quam nihil dolor aspernatur. Ab atque mollitia voluptatem sint. Et explicabo eligendi doloribus fugiat sed et inventore modi."], ["equipment_type_id", 10], ["created_at", "2018-09-05 19:27:42.295443"], ["updated_at", "2018-09-05 19:27:42.295443"]] +  (0.6ms) 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", "Linda Hilll"], ["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", "Linda Hilll"], ["name", "Ida McDermott"], ["description", "Zackary Cummings"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 19:27:42.300780"], ["updated_at", "2018-09-05 19:27:42.300780"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Coletta Satterfield"], ["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", "Kia Strosin"], ["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", "Coletta Satterfield"], ["name", "Kia Strosin"], ["description", "Hiroko Kutch"], ["created_at", "2018-09-05 19:27:42.308904"], ["updated_at", "2018-09-05 19:27:42.308904"]] +  (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", "Felica McDermott"], ["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", "Felica McDermott"], ["name", "Ute Heller"], ["location_type_id", 10], ["description", "Mellissa Stiedemann"], ["address", "Josephine Johns"], ["created_at", "2018-09-05 19:27:42.313380"], ["updated_at", "2018-09-05 19:27:42.313380"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Ozie Crona"], ["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", "Cleo Howell"], ["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", "Ozie Crona"], ["name", "Kathey Abernathy"], ["description", "Rogelio Labadie"], ["serial_number", "Cleo Howell"], ["brand", "Andre Gerlach"], ["item_model", "Marivel Kulas"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 19:27:42.319364"], ["updated_at", "2018-09-05 19:27:42.319364"]] +  (0.6ms) 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", "rosemary.homenick@rosenbaum.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", "Jammie Torphy"], ["last_name", "Regena Harber"], ["email", "rosemary.homenick@rosenbaum.ca"], ["password_digest", "$2a$04$RSprhMbMeaR8AzLshzl.FO5yiZdLJuYmcKQgItONwJ0QTHyqQV0ey"], ["created_at", "2018-09-05 19:27:42.326126"], ["updated_at", "2018-09-05 19:27:42.326126"]] +  (0.5ms) 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", "catrice@hintz.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", "Wynona Franecki"], ["last_name", "Margo Upton"], ["email", "catrice@hintz.us"], ["password_digest", "$2a$04$8eO0q.8g7ffJF31bJlJ2vuwuMezLO3ztJmMumLfJaciOHLg323KWy"], ["created_at", "2018-09-05 19:27:42.333253"], ["updated_at", "2018-09-05 19:27:42.333253"]] +  (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"=>"Elli Collins", "authorized_on"=>"2018-09-05", "created_by_id"=>"34", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"20", "chargeable_service_name"=>"Nyla Upton", "equipment_item_id"=>"9", "equipment_item_name"=>"Kathey Abernathy", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}, "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", 31], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Load (0.9ms) 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.9ms) 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.13ms) +Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 5.2ms) +  (0.6ms) ROLLBACK +  (0.5ms) BEGIN +  (1.3ms) 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", "arlie@schroeder.com"], ["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", "Shandi Marks"], ["last_name", "Fausto Becker"], ["email", "arlie@schroeder.com"], ["password_digest", "$2a$04$MMhulFlxb005B6j6TPki..5ENvOL1vz/g1s6gTuWwpr44IeaQKxDq"], ["created_at", "2018-09-05 19:27:42.359332"], ["updated_at", "2018-09-05 19:27:42.359332"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (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", "Domingo Ankunding"], ["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", "Domingo Ankunding"], ["name", "Joseph Dach"], ["address", "Crysta Waelchi"], ["created_at", "2018-09-05 19:27:42.367094"], ["updated_at", "2018-09-05 19:27:42.367094"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Samatha Champlin"], ["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", "Samatha Champlin"], ["name", "Lovella Bergnaum"], ["description", "Kiley Gerlach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 19:27:42.377081"], ["updated_at", "2018-09-05 19:27:42.377081"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#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", 36], ["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", 36], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" +[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", 21], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.21ms) +Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 3.0ms) +  (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", "jackeline_shanahan@reichel.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", "Faviola Schowalter"], ["last_name", "Tawnya Dickinson"], ["email", "jackeline_shanahan@reichel.info"], ["password_digest", "$2a$04$sNA0PvH7s3VYkXa99.J8yenmqJ3rQTwlMJ5HCjzTqmEVshmXpT9Wm"], ["created_at", "2018-09-05 19:27:42.398334"], ["updated_at", "2018-09-05 19:27:42.398334"]] +  (0.6ms) 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", "Ramonita Ratke"], ["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", "Ramonita Ratke"], ["name", "Kelvin Kling"], ["address", "Ronny Haag"], ["created_at", "2018-09-05 19:27:42.405153"], ["updated_at", "2018-09-05 19:27:42.405153"]] +  (2.1ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) 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", "Oda Brekke"], ["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", "Oda Brekke"], ["name", "Isreal Marks"], ["description", "Georgina Kunde"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.414505"], ["updated_at", "2018-09-05 19:27:42.414505"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Cleopatra Balistreri"], ["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", "Cleopatra Balistreri"], ["name", "Bess Koch"], ["description", "Oliver Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.420970"], ["updated_at", "2018-09-05 19:27:42.420970"]] +  (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", "Petrina Bednar"], ["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", "Petrina Bednar"], ["name", "Mireille Block"], ["description", "Marni Terry"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.426313"], ["updated_at", "2018-09-05 19:27:42.426313"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML + Parameters: {"id"=>"22"} + 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::Auth::User Load (0.7ms) 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.9ms) 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.7ms) 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.37ms) +Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 4.4ms) +  (0.8ms) ROLLBACK +  (1.2ms) 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", "thad@reinger.us"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Gerald Streich"], ["last_name", "Grady Wolff"], ["email", "thad@reinger.us"], ["password_digest", "$2a$04$mlmAFDoNpbk7wydMrb55v.d5OUHf0SodsD9UXKKalaHHNIKHF./g2"], ["created_at", "2018-09-05 19:27:42.453366"], ["updated_at", "2018-09-05 19:27:42.453366"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (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", "Akiko Moore"], ["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", "Akiko Moore"], ["name", "Neva Corkery"], ["address", "Tandra Bins"], ["created_at", "2018-09-05 19:27:42.461690"], ["updated_at", "2018-09-05 19:27:42.461690"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kandy Fadel"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.7ms) 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", "Kandy Fadel"], ["name", "Racquel D'Amore"], ["description", "Verdie Williamson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.468017"], ["updated_at", "2018-09-05 19:27:42.468017"]] +  (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", "Jared Smitham"], ["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", "Jared Smitham"], ["name", "Joey Murphy"], ["description", "Claudia Erdman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.474386"], ["updated_at", "2018-09-05 19:27:42.474386"]] +  (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", "Nicolasa Wehner"], ["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", "Nicolasa Wehner"], ["name", "Macie Murray"], ["description", "Patrina Rippin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.479462"], ["updated_at", "2018-09-05 19:27:42.479462"]] +  (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", "Rozanne Prosacco"], ["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", "Rozanne Prosacco"], ["name", "Percy Ledner"], ["address", "Kate Donnelly"], ["created_at", "2018-09-05 19:27:42.484256"], ["updated_at", "2018-09-05 19:27:42.484256"]] +  (0.5ms) 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", "Tanna Padberg"], ["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", "Tanna Padberg"], ["name", "Gregoria Pagac"], ["description", "Royce Yost"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-09-05 19:27:42.488608"], ["updated_at", "2018-09-05 19:27:42.488608"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Julee Lind"], ["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", "Julee Lind"], ["name", "Trang DuBuque"], ["address", "Cassie Lindgren"], ["created_at", "2018-09-05 19:27:42.494652"], ["updated_at", "2018-09-05 19:27:42.494652"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Oretha Fahey"], ["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", "Oretha Fahey"], ["name", "Fidela Funk"], ["description", "Carly Hilpert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 19:27:42.502777"], ["updated_at", "2018-09-05 19:27:42.502777"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Lucina 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", "Lucina Ward"], ["name", "Hae Krajcik"], ["address", "Jamika Renner"], ["created_at", "2018-09-05 19:27:42.510660"], ["updated_at", "2018-09-05 19:27:42.510660"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Kandice Denesik"], ["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", "Kandice Denesik"], ["name", "Luis Yundt"], ["description", "Dale Kreiger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 19:27:42.516385"], ["updated_at", "2018-09-05 19:27:42.516385"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML + Parameters: {"id"=>"23"} + Mks::Auth::User Load (0.8ms) 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.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.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.8ms) 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 (5.24ms) +Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 4.3ms) +  (1.0ms) ROLLBACK +  (0.7ms) BEGIN +  (1.2ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (2.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "blossom@oconnell.com"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Latrice Mueller"], ["last_name", "Myra Krajcik"], ["email", "blossom@oconnell.com"], ["password_digest", "$2a$04$jk94JHskVsVyLB1629PNee1B.E9AG2hvLj04T/Lt1ifgfSsGj43VG"], ["created_at", "2018-09-05 19:27:42.544616"], ["updated_at", "2018-09-05 19:27:42.544616"]] +  (2.2ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marquetta Kunde"], ["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", "Marquetta Kunde"], ["name", "Jimmy Mayert"], ["address", "Jermaine Kihn"], ["created_at", "2018-09-05 19:27:42.558033"], ["updated_at", "2018-09-05 19:27:42.558033"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Margarett Windler"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (2.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", "Margarett Windler"], ["name", "Carina Tremblay"], ["description", "Julie Hilll"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 19:27:42.569542"], ["updated_at", "2018-09-05 19:27:42.569542"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#show as HTML + Parameters: {"id"=>"32"} + Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["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", 32], ["LIMIT", 1]] + Mks::Auth::User Load (1.8ms) 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 (1.1ms) 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 (2.84ms) +Completed 200 OK in 14ms (Views: 3.7ms | ActiveRecord: 6.1ms) +  (1.8ms) ROLLBACK +  (1.2ms) BEGIN +  (1.8ms) 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", "darron.frami@kuvalis.us"], ["LIMIT", 1]] + Mks::Auth::User Create (1.5ms) 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 Ondricka"], ["last_name", "Tashina Haag"], ["email", "darron.frami@kuvalis.us"], ["password_digest", "$2a$04$9ymLh.SM6UUpkGDgG1HSmOOxJnFVewhx5kNop1ZMDbrjefjrtutri"], ["created_at", "2018-09-05 19:27:42.605532"], ["updated_at", "2018-09-05 19:27:42.605532"]] +  (1.7ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Alix Barrows"], ["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", "Alix Barrows"], ["name", "Denice Schroeder"], ["address", "Cindi Simonis"], ["created_at", "2018-09-05 19:27:42.618341"], ["updated_at", "2018-09-05 19:27:42.618341"]] +  (1.7ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jene Huel"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (5.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", "Jene Huel"], ["name", "First Service Bundle"], ["description", "Buddy Tremblay"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 19:27:42.628884"], ["updated_at", "2018-09-05 19:27:42.628884"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (2.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carlotta Gulgowski"], ["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", "Carlotta Gulgowski"], ["name", "Stephen Fritsch"], ["address", "Noma Doyle"], ["created_at", "2018-09-05 19:27:42.645988"], ["updated_at", "2018-09-05 19:27:42.645988"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (2.0ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (3.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Masako Swift"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (2.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", "Masako Swift"], ["name", "Second Service Bundle"], ["description", "Lana Satterfield"], ["percent_discount", 100.0], ["service_delivery_unit_id", 29], ["created_at", "2018-09-05 19:27:42.657970"], ["updated_at", "2018-09-05 19:27:42.657970"]] +  (1.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#filter as HTML + Parameters: {"search"=>"First"} + 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::Auth::User Load (1.9ms) 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.9ms) 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.8ms) 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 (3.41ms) +Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 7.2ms) +Processing by Mks::Rate::ServiceBundlesController#filter as HTML + Parameters: {"search"=>"Service"} + 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::Auth::User Load (2.2ms) 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.9ms) 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 (2.1ms) 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.4ms) 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 (5.83ms) +Completed 200 OK in 16ms (Views: 5.2ms | ActiveRecord: 16.3ms) +  (2.2ms) ROLLBACK +  (1.2ms) BEGIN +  (1.8ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (2.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "charlette_mills@klocko.co.uk"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Stan Bahringer"], ["last_name", "Sofia Maggio"], ["email", "charlette_mills@klocko.co.uk"], ["password_digest", "$2a$04$/o3nWvwLf3NH1gU/HM/QZO2NOoXL.jVre4GwPgfXl.h5xcB28DKfC"], ["created_at", "2018-09-05 19:27:42.712430"], ["updated_at", "2018-09-05 19:27:42.712430"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Thao Cole"], ["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", "Thao Cole"], ["name", "Lemuel Abernathy"], ["address", "Dawne Mraz"], ["created_at", "2018-09-05 19:27:42.721742"], ["updated_at", "2018-09-05 19:27:42.721742"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Boris Cummings"], ["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", "Boris Cummings"], ["name", "FIRst Service Bundle"], ["description", "Dagny Fay"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 19:27:42.728954"], ["updated_at", "2018-09-05 19:27:42.728954"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (1.7ms) 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", "Neoma Bode"], ["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", "Neoma Bode"], ["name", "Tilda Wiza"], ["address", "Loreta Steuber"], ["created_at", "2018-09-05 19:27:42.738438"], ["updated_at", "2018-09-05 19:27:42.738438"]] +  (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", "Federico Pollich"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.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", "Federico Pollich"], ["name", "Second Service Bundle for the firST time"], ["description", "Courtney Pfannerstill"], ["percent_discount", 100.0], ["service_delivery_unit_id", 31], ["created_at", "2018-09-05 19:27:42.742834"], ["updated_at", "2018-09-05 19:27:42.742834"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#filter as HTML + Parameters: {"search"=>"First"} + Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["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", 41], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Load (0.8ms) 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.34ms) +Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 4.0ms) +  (0.7ms) 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", "romelia@kessler.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", "Alita Kuhic"], ["last_name", "Randall Schumm"], ["email", "romelia@kessler.co.uk"], ["password_digest", "$2a$04$qXbKvKrfX3gxi4zgbxEyAOq0WpdA136VdADzoR1KqC/HjgmQCUP6S"], ["created_at", "2018-09-05 19:27:42.763546"], ["updated_at", "2018-09-05 19:27:42.763546"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" +  (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", "Sheryl Leuschke"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sheryl Leuschke"], ["name", "Thuy DuBuque"], ["address", "Farah Leuschke"], ["created_at", "2018-09-05 19:27:42.770470"], ["updated_at", "2018-09-05 19:27:42.770470"]] +  (1.9ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#create as HTML + Parameters: {"service_bundle"=>{"code"=>"Jodi Marks", "description"=>"Clemente Stokes", "name"=>"Delmy Barton", "service_delivery_unit_id"=>"32"}} + Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] +  (1.7ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Load (1.5ms) 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.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jodi Marks"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (2.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", "Jodi Marks"], ["name", "Delmy Barton"], ["description", "Clemente Stokes"], ["service_delivery_unit_id", 32], ["created_at", "2018-09-05 19:27:42.789052"], ["updated_at", "2018-09-05 19:27:42.789052"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 + Mks::Auth::User Load (1.0ms) 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.35ms) +Completed 201 Created in 21ms (Views: 2.5ms | ActiveRecord: 10.6ms) +  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" +  (1.0ms) ROLLBACK +  (0.7ms) 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", "divina.hayes@monahan.name"], ["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", "Carma Runolfsson"], ["last_name", "Williemae Schmeler"], ["email", "divina.hayes@monahan.name"], ["password_digest", "$2a$04$mhL5MASwO.aMPC2WGYoTduMF8NEnyDJh3aynYITNwHUEjRzjrfl92"], ["created_at", "2018-09-05 19:27:42.810655"], ["updated_at", "2018-09-05 19:27:42.810655"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cheryll Franecki"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (2.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cheryll Franecki"], ["name", "Zane Jast"], ["address", "Magnolia Stokes"], ["created_at", "2018-09-05 19:27:42.819541"], ["updated_at", "2018-09-05 19:27:42.819541"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#create as HTML + Parameters: {"service_bundle"=>{"code"=>"Digna Wunsch", "description"=>"Becky Turcotte", "name"=>"Corrinne Jast", "service_delivery_unit_id"=>"33"}} + Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] +  (0.8ms) SAVEPOINT active_record_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", 33], ["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", "Digna Wunsch"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.5ms) 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", "Digna Wunsch"], ["name", "Corrinne Jast"], ["description", "Becky Turcotte"], ["service_delivery_unit_id", 33], ["created_at", "2018-09-05 19:27:42.832318"], ["updated_at", "2018-09-05 19:27:42.832318"]] +  (0.9ms) 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", 43], ["LIMIT", 1]] +[active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) +Completed 201 Created in 14ms (Views: 1.6ms | ActiveRecord: 7.2ms) + Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]] +  (0.6ms) 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", "ashley_stracke@schiller.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", "Lieselotte Homenick"], ["last_name", "Alphonso Doyle"], ["email", "ashley_stracke@schiller.ca"], ["password_digest", "$2a$04$WN8FZ5z1xEb6xgb39MUHHOYABkqj.DIAhCUNGLyLILX4Impb1MO82"], ["created_at", "2018-09-05 19:27:42.848728"], ["updated_at", "2018-09-05 19:27:42.848728"]] +  (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", "Mirtha Mitchell"], ["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", "Mirtha Mitchell"], ["name", "Dorothy Bins"], ["address", "Lorri Dickens"], ["created_at", "2018-09-05 19:27:42.853986"], ["updated_at", "2018-09-05 19:27:42.853986"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#create as HTML + Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Martina Hirthe", "name"=>"Cliff Schaefer", "service_delivery_unit_id"=>"34"}} + Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] +  (0.5ms) 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", 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.7ms) ROLLBACK TO SAVEPOINT active_record_1 + Mks::Auth::User Load (1.5ms) 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.1ms) +Completed 422 Unprocessable Entity in 15ms (Views: 6.3ms | ActiveRecord: 4.9ms) +  (1.3ms) ROLLBACK +  (0.7ms) BEGIN +  (0.8ms) 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", "clora.jacobs@farrellemard.us"], ["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", "Brigida Mueller"], ["last_name", "Shan Leannon"], ["email", "clora.jacobs@farrellemard.us"], ["password_digest", "$2a$04$aH2vgvXi8XmClnB.MPDNG.mt8ay3eVeWesv9HOmLvr75iPvNHvhtu"], ["created_at", "2018-09-05 19:27:42.884428"], ["updated_at", "2018-09-05 19:27:42.884428"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Carissa 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", "Carissa Dickinson"], ["name", "Ines Sipes"], ["address", "Etha Grimes"], ["created_at", "2018-09-05 19:27:42.907801"], ["updated_at", "2018-09-05 19:27:42.907801"]] +  (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", "Lakeshia Brakus"], ["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", "Lakeshia Brakus"], ["name", "Diana Brakus"], ["description", "Claud Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 35], ["created_at", "2018-09-05 19:27:42.912801"], ["updated_at", "2018-09-05 19:27:42.912801"]] +  (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", "Patrice Walker"], ["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", "Lonny Champlin"], ["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", "Patrice Walker"], ["name", "Lonny Champlin"], ["created_at", "2018-09-05 19:27:42.919339"], ["updated_at", "2018-09-05 19:27:42.919339"]] +  (0.7ms) 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", "Cecilia Kulas"], ["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", "Cecilia Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.925603"], ["updated_at", "2018-09-05 19:27:42.925603"]] +  (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", "Karole Homenick"], ["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", "Karole Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.930502"], ["updated_at", "2018-09-05 19:27:42.930502"]] +  (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", "Chun Kuhlman"], ["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", "Chun Kuhlman"], ["name", "Tonda Bartell"], ["address", "Lance Kuhn"], ["created_at", "2018-09-05 19:27:42.935454"], ["updated_at", "2018-09-05 19:27:42.935454"]] +  (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", "Taunya Legros"], ["service_delivery_unit_id", 36], ["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", "Taunya Legros"], ["name", "Brianne Rippin"], ["service_type_id", 23], ["base_unit_id", 45], ["utilization_unit_id", 46], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 19:27:42.940120"], ["updated_at", "2018-09-05 19:27:42.940120"]] + 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", 36], ["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", "Taunya Legros"], ["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", "Taunya Legros"], ["name", "Brianne Rippin"], ["description", "Default bundle for service 'Brianne Rippin'"], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 19:27:42.945269"], ["updated_at", "2018-09-05 19:27:42.945269"]] + 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", 40], ["chargeable_service_id", 22]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.5ms) 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 (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["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", 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.07ms) +Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 2.6ms) +  (0.7ms) 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", "ernestina_jacobs@stiedemannsauer.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", "Gwyn Nienow"], ["last_name", "Katheryn Reinger"], ["email", "ernestina_jacobs@stiedemannsauer.name"], ["password_digest", "$2a$04$wO2/rhAuTSKAWtwXz6YQaeXY/c22TANjGNC9tALezzdKG8AmR6TO."], ["created_at", "2018-09-05 19:27:42.972574"], ["updated_at", "2018-09-05 19:27:42.972574"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (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", "Maragaret Lowe"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maragaret Lowe"], ["name", "Bree Pfannerstill"], ["address", "Lesha Toy"], ["created_at", "2018-09-05 19:27:42.978171"], ["updated_at", "2018-09-05 19:27:42.978171"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Freddie Wolff"], ["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", "Freddie Wolff"], ["name", "Ariana Kub"], ["description", "Sang Effertz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 37], ["created_at", "2018-09-05 19:27:42.985889"], ["updated_at", "2018-09-05 19:27:42.985889"]] +  (2.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#update as HTML + Parameters: {"service_bundle"=>{"name"=>"Erlinda Ondricka"}, "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.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] +  (0.7ms) 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", 37], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Exists (1.6ms) 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", "Freddie Wolff"], ["id", 41], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Update (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Erlinda Ondricka"], ["updated_at", "2018-09-05 19:27:43.003270"], ["id", 41]] +  (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", 46], ["LIMIT", 1]] +[active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) +Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 7.1ms) + 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.7ms) 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", "ismael@goodwinbosco.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", "Sasha Paucek"], ["last_name", "Bernadine Kassulke"], ["email", "ismael@goodwinbosco.name"], ["password_digest", "$2a$04$A6j9U5v3ATO.lmj9lzmDze.9pTcq2a3fJtbh0zE6sPAfTR31oRCUO"], ["created_at", "2018-09-05 19:27:43.017138"], ["updated_at", "2018-09-05 19:27:43.017138"]] +  (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", "Simon Schulist"], ["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", "Simon Schulist"], ["name", "Mina Bergstrom"], ["address", "Romana Wintheiser"], ["created_at", "2018-09-05 19:27:43.022043"], ["updated_at", "2018-09-05 19:27:43.022043"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) 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", "Kimiko Cartwright"], ["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", "Kimiko Cartwright"], ["name", "Kary Johns"], ["description", "Ricarda Goyette"], ["percent_discount", 100.0], ["service_delivery_unit_id", 38], ["created_at", "2018-09-05 19:27:43.027294"], ["updated_at", "2018-09-05 19:27:43.027294"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (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", "Mitsue Wolf"], ["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", "Mitsue Wolf"], ["name", "Alicia Bauch"], ["address", "Deeann Huel"], ["created_at", "2018-09-05 19:27:43.033870"], ["updated_at", "2018-09-05 19:27:43.033870"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#update as HTML + Parameters: {"service_bundle"=>{"code"=>"Leora Kris", "description"=>"Aaron Cartwright", "name"=>"Clare Gleason", "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.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] +  (0.5ms) 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", 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", "Leora Kris"], ["id", 42], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Update (0.9ms) 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", "Leora Kris"], ["name", "Clare Gleason"], ["description", "Aaron Cartwright"], ["service_delivery_unit_id", 39], ["updated_at", "2018-09-05 19:27:43.047203"], ["id", 42]] +  (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", 47], ["LIMIT", 1]] +[active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.22ms) +Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.4ms) +  (0.6ms) ROLLBACK +  (0.5ms) 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", "morgan@labadie.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", "Eli McCullough"], ["last_name", "Olen Kuhic"], ["email", "morgan@labadie.ca"], ["password_digest", "$2a$04$pyalqWYEbK.4vbdPO89tQuG13spw5N4zYs7lUYQq89GyKsjf0Wrjy"], ["created_at", "2018-09-05 19:27:43.060075"], ["updated_at", "2018-09-05 19:27:43.060075"]] +  (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", "Katerine Connelly"], ["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", "Katerine Connelly"], ["name", "Tiana Streich"], ["address", "Olevia Christiansen"], ["created_at", "2018-09-05 19:27:43.065063"], ["updated_at", "2018-09-05 19:27:43.065063"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) 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", "Luana Russel"], ["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", "Luana Russel"], ["name", "Maribel Stracke"], ["description", "Buck Bechtelar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 19:27:43.069550"], ["updated_at", "2018-09-05 19:27:43.069550"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) 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", "Vicente Herzog"], ["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", "Vicente Herzog"], ["name", "Carl Orn"], ["address", "Brock Sauer"], ["created_at", "2018-09-05 19:27:43.075727"], ["updated_at", "2018-09-05 19:27:43.075727"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceBundlesController#update as HTML + Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Adrien Lang", "name"=>"Maisie Reilly", "service_delivery_unit_id"=>"41"}, "id"=>"43"} + Mks::Auth::User Load (1.5ms) 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]] +  (1.0ms) 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", 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.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", 48], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) +Completed 422 Unprocessable Entity in 13ms (Views: 1.2ms | ActiveRecord: 7.0ms) +  (0.9ms) ROLLBACK +  (0.7ms) BEGIN +  (1.1ms) 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", "darnell@thompson.biz"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Dorris Baumbach"], ["last_name", "Natashia Kling"], ["email", "darnell@thompson.biz"], ["password_digest", "$2a$04$o7hZwxn78CcgQ1yWpfE7quR/elQBzrD/btYX5q.MJrQ8aaWQ6M1ne"], ["created_at", "2018-09-05 19:27:43.103347"], ["updated_at", "2018-09-05 19:27:43.103347"]] +  (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", "Marta Kulas"], ["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", "Marta Kulas"], ["name", "Latisha Dooley"], ["address", "Cory Gleichner"], ["created_at", "2018-09-05 19:27:43.111507"], ["updated_at", "2018-09-05 19:27:43.111507"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Taneka Smitham"], ["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", "Taneka Smitham"], ["name", "Leona Weissnat"], ["address", "Edwin Farrell"], ["created_at", "2018-09-05 19:27:43.117124"], ["updated_at", "2018-09-05 19:27:43.117124"]] +  (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", "Ethelene Emard"], ["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", "Ethelene Emard"], ["name", "Adina Borer"], ["address", "Maryjane Doyle"], ["created_at", "2018-09-05 19:27:43.122843"], ["updated_at", "2018-09-05 19:27:43.122843"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceDeliveryUnitsController#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", 49], ["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", 49], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" +No serializer found for resource: #<Mks::Rate::ServiceDeliveryUnit id: 42, code: "Marta Kulas", name: "Latisha Dooley", address: "Cory Gleichner", created_at: "2018-09-05 19:27:43", updated_at: "2018-09-05 19:27:43"> +[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceDeliveryUnit::ActiveRecord_Relation (0.74ms) +Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 2.9ms) +  (1.1ms) ROLLBACK +  (0.6ms) BEGIN +  (1.5ms) 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", "marva.ortiz@aufderhar.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", "Leonia Davis"], ["last_name", "Charlyn Torphy"], ["email", "marva.ortiz@aufderhar.com"], ["password_digest", "$2a$04$MsYFksBGMe3SDsTGkUzhlu0iY8FgoPToNEu4TnvEEsldruBEmqXgS"], ["created_at", "2018-09-05 19:27:43.149598"], ["updated_at", "2018-09-05 19:27:43.149598"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" +Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON + Parameters: {"service_delivery_unit"=>{"address"=>"Imelda Brekke", "code"=>"Neely Steuber", "name"=>"Tyesha Kohler"}} + Mks::Auth::User Load (1.1ms) 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.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Neely Steuber"], ["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", "Neely Steuber"], ["name", "Tyesha Kohler"], ["address", "Imelda Brekke"], ["created_at", "2018-09-05 19:27:43.162242"], ["updated_at", "2018-09-05 19:27:43.162242"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.16ms) + Mks::Auth::User Load (0.9ms) 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.25ms) +Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 5.0ms) +  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" +  (0.6ms) 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", "patsy@bernhard.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", "Natisha Howe"], ["last_name", "Mohamed Swaniawski"], ["email", "patsy@bernhard.info"], ["password_digest", "$2a$04$sf1.6otY6uL15ZMtx82ZseMpzFC9BxhCyNh314GzC495g.V2YtQju"], ["created_at", "2018-09-05 19:27:43.179513"], ["updated_at", "2018-09-05 19:27:43.179513"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON + Parameters: {"service_delivery_unit"=>{"address"=>"Chana White", "code"=>"Slyvia Kessler", "name"=>"Barton Volkman"}} + Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 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", "Slyvia Kessler"], ["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", "Slyvia Kessler"], ["name", "Barton Volkman"], ["address", "Chana White"], ["created_at", "2018-09-05 19:27:43.187473"], ["updated_at", "2018-09-05 19:27:43.187473"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.1ms) + Mks::Auth::User Load (0.6ms) 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.28ms) +Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 3.8ms) +  (0.8ms) ROLLBACK +  (0.7ms) BEGIN +  (0.9ms) 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", "chanda@barrowshansen.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", "Florrie Goldner"], ["last_name", "Sean Ziemann"], ["email", "chanda@barrowshansen.ca"], ["password_digest", "$2a$04$nx9fggW8OI.vK8SAWbeoM.BX5EWi0cZqf1dTn8xbZdLG5YT6780BS"], ["created_at", "2018-09-05 19:27:43.202563"], ["updated_at", "2018-09-05 19:27:43.202563"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON + Parameters: {"service_delivery_unit"=>{"address"=>"Ruthanne Cummerata", "code"=>"", "name"=>"Kanisha Tromp"}} + Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] +  (0.6ms) 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", ""], ["LIMIT", 1]] +  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 + Mks::Auth::User Load (1.0ms) 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.15ms) +Completed 422 Unprocessable Entity in 9ms (Views: 1.9ms | ActiveRecord: 4.1ms) +  (1.5ms) ROLLBACK +  (0.6ms) 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", "cliff@jacobswisozk.co.uk"], ["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", "Ronald Frami"], ["last_name", "Sixta Schuster"], ["email", "cliff@jacobswisozk.co.uk"], ["password_digest", "$2a$04$i7UOvINOHGuwK7WYN2Iyue.lALSYx5bEJ9eYRLcyfVswzFUJoOTT2"], ["created_at", "2018-09-05 19:27:43.226401"], ["updated_at", "2018-09-05 19:27:43.226401"]] +  (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", "Doria Gerlach"], ["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", "Doria Gerlach"], ["name", "Arlette Dach"], ["address", "Guillermo Swift"], ["created_at", "2018-09-05 19:27:43.231111"], ["updated_at", "2018-09-05 19:27:43.231111"]] +  (1.0ms) 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.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["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", 47], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Doria Gerlach"], ["id", 47], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Update (1.6ms) 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 19:27:43.243144"], ["id", 47]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.19ms) + Mks::Auth::User Load (1.1ms) 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.34ms) +Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 7.0ms) + 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) ROLLBACK +  (0.4ms) 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", "garnett_labadie@harvey.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", "Katharine Schneider"], ["last_name", "Allie Medhurst"], ["email", "garnett_labadie@harvey.ca"], ["password_digest", "$2a$04$1emmG/QWOP1CqMLBWK1blu.Pk0X5NG/8Fve7H0ks77XkfqRHUh8z."], ["created_at", "2018-09-05 19:27:43.260566"], ["updated_at", "2018-09-05 19:27:43.260566"]] +  (1.0ms) 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", "Renda Carter"], ["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", "Renda Carter"], ["name", "Fredric Williamson"], ["address", "Eddy Simonis"], ["created_at", "2018-09-05 19:27:43.267563"], ["updated_at", "2018-09-05 19:27:43.267563"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON + Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"} + Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 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", 48], ["LIMIT", 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Renda Carter"], ["id", 48], ["LIMIT", 1]] +  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 + Mks::Auth::User Load (1.0ms) 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.17ms) +Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.3ms) +  (0.7ms) ROLLBACK +  (0.7ms) 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", "rosalie@rosenbaum.com"], ["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", "Vivienne Senger"], ["last_name", "Jonathon Mraz"], ["email", "rosalie@rosenbaum.com"], ["password_digest", "$2a$04$DE48N5Poxg4B8wS9D8lm7.JJvBd3zBgRD2DXrGgbS63VF8qJevB.m"], ["created_at", "2018-09-05 19:27:43.290281"], ["updated_at", "2018-09-05 19:27:43.290281"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Marilynn Sauer"], ["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", "Allena Berge"], ["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", "Marilynn Sauer"], ["name", "Allena Berge"], ["description", "Delectus accusantium explicabo expedita illum. Explicabo impedit voluptatem sed consequatur est odio. Consequatur facilis vero praesentium laboriosam odit."], ["created_at", "2018-09-05 19:27:43.316998"], ["updated_at", "2018-09-05 19:27:43.316998"]] +  (0.5ms) 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", "Temple Osinski"], ["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", "Jeremiah Stokes"], ["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", "Temple Osinski"], ["name", "Jeremiah Stokes"], ["description", "Ut beatae eos ipsum sit est aut et sit. Sequi deleniti odit dignissimos aut delectus natus. Labore quia recusandae sed ut sequi. Aliquid illo quia qui minus omnis."], ["equipment_type_id", 11], ["created_at", "2018-09-05 19:27:43.322422"], ["updated_at", "2018-09-05 19:27:43.322422"]] +  (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", "Sanjuanita Boyle"], ["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", "Sanjuanita Boyle"], ["name", "Trinidad Volkman"], ["description", "Sheilah Gottlieb"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 11], ["created_at", "2018-09-05 19:27:43.326905"], ["updated_at", "2018-09-05 19:27:43.326905"]] +  (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", "An Powlowski"], ["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", "Cassandra Johnston"], ["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", "An Powlowski"], ["name", "Cassandra Johnston"], ["description", "Nicolle Glover"], ["created_at", "2018-09-05 19:27:43.333517"], ["updated_at", "2018-09-05 19:27:43.333517"]] +  (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", "Tom Gerhold"], ["LIMIT", 1]] + Mks::Edm::EquipmentLocation Create (1.3ms) 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", "Tom Gerhold"], ["name", "Phillip Satterfield"], ["location_type_id", 11], ["description", "Vikki Rutherford"], ["address", "Noelle Gerhold"], ["created_at", "2018-09-05 19:27:43.338338"], ["updated_at", "2018-09-05 19:27:43.338338"]] +  (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", "Shirley Zieme"], ["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", "Lesa Hilpert"], ["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", "Shirley Zieme"], ["name", "Leslee Harvey"], ["description", "Jasper Hansen"], ["serial_number", "Lesa Hilpert"], ["brand", "Ora Streich"], ["item_model", "Hanh Padberg"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 11], ["current_location_id", 11], ["created_at", "2018-09-05 19:27:43.345148"], ["updated_at", "2018-09-05 19:27:43.345148"]] +  (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", "Delana O'Kon"], ["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", "Demarcus Spinka"], ["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", "Delana O'Kon"], ["name", "Demarcus Spinka"], ["created_at", "2018-09-05 19:27:43.353743"], ["updated_at", "2018-09-05 19:27:43.353743"]] +  (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", "Blanche Miller"], ["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", "Blanche Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.358310"], ["updated_at", "2018-09-05 19:27:43.358310"]] +  (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", "Lucia Lakin"], ["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", "Lucia Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.362888"], ["updated_at", "2018-09-05 19:27:43.362888"]] +  (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", "Debby Macejkovic"], ["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", "Debby Macejkovic"], ["name", "Brianne Veum"], ["address", "Birdie Johns"], ["created_at", "2018-09-05 19:27:43.367426"], ["updated_at", "2018-09-05 19:27:43.367426"]] +  (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", "Lynne Hoeger"], ["service_delivery_unit_id", 49], ["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", "Lynne Hoeger"], ["name", "Stephanie Watsica"], ["service_type_id", 24], ["base_unit_id", 47], ["utilization_unit_id", 48], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 19:27:43.372090"], ["updated_at", "2018-09-05 19:27:43.372090"]] + 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.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lynne Hoeger"], ["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", "Lynne Hoeger"], ["name", "Stephanie Watsica"], ["description", "Default bundle for service 'Stephanie Watsica'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 19:27:43.377290"], ["updated_at", "2018-09-05 19:27:43.377290"]] + 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", 44], ["chargeable_service_id", 23]] +  (0.5ms) 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 19:27:43.384447"], ["updated_at", "2018-09-05 19:27:43.384447"]] +  (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", "Janita Hane"], ["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", "Joel Carroll"], ["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", "Janita Hane"], ["name", "Joel Carroll"], ["description", "Reiciendis ut debitis eligendi facere qui nihil a quia. Aut et repudiandae quae nulla libero magni ut. Iste libero assumenda saepe architecto dolor eos dignissimos explicabo."], ["created_at", "2018-09-05 19:27:43.392506"], ["updated_at", "2018-09-05 19:27:43.392506"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Georgette Kozey"], ["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", "Ilona Borer"], ["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", "Georgette Kozey"], ["name", "Ilona Borer"], ["description", "Inventore culpa quam minima assumenda dolore sit. Quo est et repellat quibusdam quia. Doloremque et earum velit esse nihil. Blanditiis nostrum iusto incidunt beatae."], ["equipment_type_id", 12], ["created_at", "2018-09-05 19:27:43.397755"], ["updated_at", "2018-09-05 19:27:43.397755"]] +  (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", "Burl Bahringer"], ["LIMIT", 1]] + Mks::Edm::Equipment Create (1.7ms) 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", "Burl Bahringer"], ["name", "Enriqueta Medhurst"], ["description", "Lorri Kub"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 12], ["created_at", "2018-09-05 19:27:43.402402"], ["updated_at", "2018-09-05 19:27:43.402402"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Chassidy Luettgen"], ["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", "Pia Koepp"], ["LIMIT", 1]] + Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chassidy Luettgen"], ["name", "Pia Koepp"], ["description", "Giovanna Tillman"], ["created_at", "2018-09-05 19:27:43.413031"], ["updated_at", "2018-09-05 19:27:43.413031"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Rhea Heaney"], ["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", "Rhea Heaney"], ["name", "Soraya Altenwerth"], ["location_type_id", 12], ["description", "Sari Cole"], ["address", "Laree Cassin"], ["created_at", "2018-09-05 19:27:43.418703"], ["updated_at", "2018-09-05 19:27:43.418703"]] +  (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", "Alexandria Aufderhar"], ["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", "Buck Bartell"], ["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", "Alexandria Aufderhar"], ["name", "Ashli Conn"], ["description", "Bernie Lowe"], ["serial_number", "Buck Bartell"], ["brand", "Filiberto Rohan"], ["item_model", "Horacio Effertz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 12], ["current_location_id", 12], ["created_at", "2018-09-05 19:27:43.424563"], ["updated_at", "2018-09-05 19:27:43.424563"]] +  (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", "Cleora Simonis"], ["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", "Ellis Runolfsdottir"], ["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", "Cleora Simonis"], ["name", "Ellis Runolfsdottir"], ["created_at", "2018-09-05 19:27:43.431404"], ["updated_at", "2018-09-05 19:27:43.431404"]] +  (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", "Hyacinth 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", "Hyacinth Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.436076"], ["updated_at", "2018-09-05 19:27:43.436076"]] +  (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", "Blossom Cartwright"], ["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", "Blossom Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.440528"], ["updated_at", "2018-09-05 19:27:43.440528"]] +  (0.6ms) 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", "Hien Stiedemann"], ["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", "Hien Stiedemann"], ["name", "Migdalia Wilkinson"], ["address", "Jaqueline Gusikowski"], ["created_at", "2018-09-05 19:27:43.446623"], ["updated_at", "2018-09-05 19:27:43.446623"]] +  (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", "Loren Gislason"], ["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", "Loren Gislason"], ["name", "Maegan Lubowitz"], ["service_type_id", 25], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 19:27:43.451683"], ["updated_at", "2018-09-05 19:27:43.451683"]] + 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", 50], ["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", "Loren Gislason"], ["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", "Loren Gislason"], ["name", "Maegan Lubowitz"], ["description", "Default bundle for service 'Maegan Lubowitz'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 19:27:43.456712"], ["updated_at", "2018-09-05 19:27:43.456712"]] + 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", 45], ["chargeable_service_id", 24]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceRate Create (0.9ms) 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 19:27:43.462457"], ["updated_at", "2018-09-05 19:27:43.462457"]] +  (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", "Yolonda Waelchi"], ["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", "Coretta Bartell"], ["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", "Yolonda Waelchi"], ["name", "Coretta Bartell"], ["description", "Voluptate illo excepturi quasi et ipsa et rerum consectetur. Tenetur nisi incidunt voluptas voluptatem. Ut vel enim reiciendis magnam labore rerum."], ["created_at", "2018-09-05 19:27:43.469581"], ["updated_at", "2018-09-05 19:27:43.469581"]] +  (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", "Samantha Abernathy"], ["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", "Hollie Hackett"], ["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", "Samantha Abernathy"], ["name", "Hollie Hackett"], ["description", "Facilis reiciendis ipsam odit perspiciatis dolores quia. Qui tempore perferendis consequatur voluptas quidem libero magni sapiente. Distinctio optio maiores doloribus velit consequatur."], ["equipment_type_id", 13], ["created_at", "2018-09-05 19:27:43.475170"], ["updated_at", "2018-09-05 19:27:43.475170"]] +  (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", "Narcisa Mitchell"], ["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", "Narcisa Mitchell"], ["name", "Rhett Parker"], ["description", "Irvin Sauer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 13], ["created_at", "2018-09-05 19:27:43.479474"], ["updated_at", "2018-09-05 19:27:43.479474"]] +  (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", "Herlinda Grant"], ["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", "Aide Macejkovic"], ["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", "Herlinda Grant"], ["name", "Aide Macejkovic"], ["description", "Larhonda Braun"], ["created_at", "2018-09-05 19:27:43.485508"], ["updated_at", "2018-09-05 19:27:43.485508"]] +  (0.4ms) 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", "Ellis Schumm"], ["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", "Ellis Schumm"], ["name", "Serena Nikolaus"], ["location_type_id", 13], ["description", "Josephine Lueilwitz"], ["address", "Ellamae Lowe"], ["created_at", "2018-09-05 19:27:43.489591"], ["updated_at", "2018-09-05 19:27:43.489591"]] +  (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", "Valeria Simonis"], ["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", "Jeramy Hettinger"], ["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", "Valeria Simonis"], ["name", "Hildred Fay"], ["description", "Despina Moore"], ["serial_number", "Jeramy Hettinger"], ["brand", "Branden Hagenes"], ["item_model", "Ozell Klein"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 13], ["current_location_id", 13], ["created_at", "2018-09-05 19:27:43.495112"], ["updated_at", "2018-09-05 19:27:43.495112"]] +  (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", "Inocencia Doyle"], ["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", "Zetta Monahan"], ["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", "Inocencia Doyle"], ["name", "Zetta Monahan"], ["created_at", "2018-09-05 19:27:43.501392"], ["updated_at", "2018-09-05 19:27:43.501392"]] +  (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", "Cherelle 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", "Cherelle Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.506110"], ["updated_at", "2018-09-05 19:27:43.506110"]] +  (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", "Nikia Langworth"], ["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", "Nikia Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.510568"], ["updated_at", "2018-09-05 19:27:43.510568"]] +  (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", "Dominica Beier"], ["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", "Dominica Beier"], ["name", "Cherrie Lowe"], ["address", "Audry Kohler"], ["created_at", "2018-09-05 19:27:43.516142"], ["updated_at", "2018-09-05 19:27:43.516142"]] +  (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", "Manuel Hauck"], ["service_delivery_unit_id", 51], ["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", "Manuel Hauck"], ["name", "Deidre Labadie"], ["service_type_id", 26], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 19:27:43.520790"], ["updated_at", "2018-09-05 19:27:43.520790"]] + 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", 51], ["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", "Manuel Hauck"], ["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", "Manuel Hauck"], ["name", "Deidre Labadie"], ["description", "Default bundle for service 'Deidre Labadie'"], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 19:27:43.525691"], ["updated_at", "2018-09-05 19:27:43.525691"]] + 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", 46], ["chargeable_service_id", 25]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) 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 19:27:43.531556"], ["updated_at", "2018-09-05 19:27:43.531556"]] +  (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.9ms) 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.3ms) 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.7ms) 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.8ms) 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.7ms) 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.8ms) 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.94ms) +  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_rates" + Mks::Auth::User Load (1.7ms) 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.7ms) +Completed 200 OK in 33ms (Views: 2.3ms | ActiveRecord: 10.2ms) +  (1.1ms) ROLLBACK +  (0.4ms) 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", "irving.pollich@rau.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", "Porfirio Kuhn"], ["last_name", "Minta Steuber"], ["email", "irving.pollich@rau.com"], ["password_digest", "$2a$04$i711a7jcgGWKigIsjVtHGeIHFKp43d.IArDAqQsPlFojLclkHQFP2"], ["created_at", "2018-09-05 19:27:43.576456"], ["updated_at", "2018-09-05 19:27:43.576456"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Donnie Hintz"], ["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", "Rebecka Kreiger"], ["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", "Donnie Hintz"], ["name", "Rebecka Kreiger"], ["description", "Animi reprehenderit tempore temporibus vitae eos porro in. Quasi qui omnis fuga quibusdam. Quasi id et molestiae dolorem. Voluptas at maxime quos animi harum alias."], ["created_at", "2018-09-05 19:27:43.583658"], ["updated_at", "2018-09-05 19:27:43.583658"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentCategory Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Mao Heathcote"], ["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", "Mirella Bashirian"], ["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", "Mao Heathcote"], ["name", "Mirella Bashirian"], ["description", "Vitae eos numquam doloribus officiis. Distinctio excepturi omnis facere voluptatum temporibus. Autem voluptatum doloribus assumenda et deleniti fugit eveniet expedita. Aliquam corrupti mollitia maiores natus."], ["equipment_type_id", 14], ["created_at", "2018-09-05 19:27:43.591135"], ["updated_at", "2018-09-05 19:27:43.591135"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Tarsha Parker"], ["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", "Tarsha Parker"], ["name", "Echo Ward"], ["description", "Nova Ortiz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 14], ["created_at", "2018-09-05 19:27:43.597744"], ["updated_at", "2018-09-05 19:27:43.597744"]] +  (0.9ms) 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", "Kai Barrows"], ["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", "Tianna King"], ["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", "Kai Barrows"], ["name", "Tianna King"], ["description", "Alica Kautzer"], ["created_at", "2018-09-05 19:27:43.605177"], ["updated_at", "2018-09-05 19:27:43.605177"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentLocation Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Duane Windler"], ["LIMIT", 1]] + Mks::Edm::EquipmentLocation Create (1.3ms) 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", "Duane Windler"], ["name", "Akilah Abernathy"], ["location_type_id", 14], ["description", "Mickie Shanahan"], ["address", "Casimira Sauer"], ["created_at", "2018-09-05 19:27:43.610183"], ["updated_at", "2018-09-05 19:27:43.610183"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Chasidy Schimmel"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Aleshia Bernier"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Create (1.5ms) 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", "Chasidy Schimmel"], ["name", "Maris Johnson"], ["description", "Maia Kautzer"], ["serial_number", "Aleshia Bernier"], ["brand", "Ilse Hammes"], ["item_model", "Theda Yundt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 14], ["current_location_id", 14], ["created_at", "2018-09-05 19:27:43.618429"], ["updated_at", "2018-09-05 19:27:43.618429"]] +  (0.8ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Sumiko Harvey"], ["LIMIT", 1]] + Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chong Hilpert"], ["LIMIT", 1]] + Mks::Rate::ServiceType Create (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sumiko Harvey"], ["name", "Chong Hilpert"], ["created_at", "2018-09-05 19:27:43.628736"], ["updated_at", "2018-09-05 19:27:43.628736"]] +  (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", "Oren Koepp"], ["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", "Oren Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.635208"], ["updated_at", "2018-09-05 19:27:43.635208"]] +  (0.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", "Alfredia Haag"], ["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", "Alfredia Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.641332"], ["updated_at", "2018-09-05 19:27:43.641332"]] +  (0.5ms) 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", "Tien Bailey"], ["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", "Tien Bailey"], ["name", "Reena Kozey"], ["address", "Theodore Effertz"], ["created_at", "2018-09-05 19:27:43.646637"], ["updated_at", "2018-09-05 19:27:43.646637"]] +  (0.7ms) 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", "Corinne Abbott"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (1.4ms) 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", "Corinne Abbott"], ["name", "Dania Wolf"], ["service_type_id", 27], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 19:27:43.653201"], ["updated_at", "2018-09-05 19:27:43.653201"]] + 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", 52], ["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", "Corinne Abbott"], ["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", "Corinne Abbott"], ["name", "Dania Wolf"], ["description", "Default bundle for service 'Dania Wolf'"], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 19:27:43.659307"], ["updated_at", "2018-09-05 19:27:43.659307"]] + 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", 47], ["chargeable_service_id", 26]] +  (0.7ms) 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", 26], ["equipment_item_id", 14], ["created_at", "2018-09-05 19:27:43.666079"], ["updated_at", "2018-09-05 19:27:43.666079"]] +  (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", "Candida Leannon"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Alpha Romaguera"], ["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", "Candida Leannon"], ["name", "Alpha Romaguera"], ["description", "Sit qui dolorum ipsam ipsum blanditiis nulla non maiores. Deserunt recusandae soluta facere molestiae quia. Et non consequuntur esse nam voluptatibus. Rerum accusantium sint numquam dicta quae amet."], ["created_at", "2018-09-05 19:27:43.673899"], ["updated_at", "2018-09-05 19:27:43.673899"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Harriette Romaguera"], ["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", "Darron Feil"], ["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", "Harriette Romaguera"], ["name", "Darron Feil"], ["description", "Modi debitis molestias explicabo aut et. A nam aliquid quia ut eum. Quaerat ut nulla aliquam impedit. Sequi quis voluptatem eos rerum omnis."], ["equipment_type_id", 15], ["created_at", "2018-09-05 19:27:43.680404"], ["updated_at", "2018-09-05 19:27:43.680404"]] +  (0.8ms) 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", "Penelope Gusikowski"], ["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", "Penelope Gusikowski"], ["name", "Margarett Johnson"], ["description", "Kent Nolan"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 15], ["created_at", "2018-09-05 19:27:43.685639"], ["updated_at", "2018-09-05 19:27:43.685639"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Mollie Ebert"], ["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", "Xenia Aufderhar"], ["LIMIT", 1]] + Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mollie Ebert"], ["name", "Xenia Aufderhar"], ["description", "Fabian Schamberger"], ["created_at", "2018-09-05 19:27:43.693451"], ["updated_at", "2018-09-05 19:27:43.693451"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) 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", "Rosie Christiansen"], ["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", "Rosie Christiansen"], ["name", "Eulah Thompson"], ["location_type_id", 15], ["description", "Jerome Gerlach"], ["address", "Debi Gerlach"], ["created_at", "2018-09-05 19:27:43.700833"], ["updated_at", "2018-09-05 19:27:43.700833"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Ami Bechtelar"], ["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", "Trent Ankunding"], ["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", "Ami Bechtelar"], ["name", "Evonne Hauck"], ["description", "Taina Gottlieb"], ["serial_number", "Trent Ankunding"], ["brand", "Adrianne Sawayn"], ["item_model", "Adolph Dicki"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 15], ["current_location_id", 15], ["created_at", "2018-09-05 19:27:43.709939"], ["updated_at", "2018-09-05 19:27:43.709939"]] +  (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", "Annetta Douglas"], ["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", "Machelle Schamberger"], ["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", "Annetta Douglas"], ["name", "Machelle Schamberger"], ["created_at", "2018-09-05 19:27:43.716842"], ["updated_at", "2018-09-05 19:27:43.716842"]] +  (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", "Stephaine Lubowitz"], ["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", "Stephaine Lubowitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.721424"], ["updated_at", "2018-09-05 19:27:43.721424"]] +  (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", "Ted Kovacek"], ["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", "Ted Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.725977"], ["updated_at", "2018-09-05 19:27:43.725977"]] +  (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", "Devona Nienow"], ["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", "Devona Nienow"], ["name", "Lore Bechtelar"], ["address", "Gretta Doyle"], ["created_at", "2018-09-05 19:27:43.730502"], ["updated_at", "2018-09-05 19:27:43.730502"]] +  (0.6ms) 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", "Cathie Parisian"], ["service_delivery_unit_id", 53], ["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", "Cathie Parisian"], ["name", "Sean Murray"], ["service_type_id", 28], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 19:27:43.734956"], ["updated_at", "2018-09-05 19:27:43.734956"]] + 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", 53], ["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", "Cathie Parisian"], ["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", "Cathie Parisian"], ["name", "Sean Murray"], ["description", "Default bundle for service 'Sean Murray'"], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 19:27:43.739701"], ["updated_at", "2018-09-05 19:27:43.739701"]] + 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", 48], ["chargeable_service_id", 27]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.7ms) 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 19:27:43.747121"], ["updated_at", "2018-09-05 19:27:43.747121"]] +  (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", "Dagny Klein"], ["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", "Andre Kerluke"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Create (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dagny Klein"], ["name", "Andre Kerluke"], ["description", "Molestias praesentium dolor et vel modi quis dignissimos. Ut quidem distinctio adipisci sed consectetur magnam sit. Voluptatem dolorum maxime voluptas qui possimus sed facere temporibus. Qui velit voluptatum et labore. Et ut quis consequatur nihil sint possimus incidunt sunt."], ["created_at", "2018-09-05 19:27:43.754500"], ["updated_at", "2018-09-05 19:27:43.754500"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) 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", "Essie Wuckert"], ["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", "Lavon Legros"], ["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", "Essie Wuckert"], ["name", "Lavon Legros"], ["description", "Hic modi reiciendis aut consequatur nemo exercitationem minima quis. Dolor reiciendis nisi hic quaerat enim. Perferendis atque voluptatibus quis rem voluptatem."], ["equipment_type_id", 16], ["created_at", "2018-09-05 19:27:43.761676"], ["updated_at", "2018-09-05 19:27:43.761676"]] +  (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", "Jasmine Sauer"], ["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", "Jasmine Sauer"], ["name", "Lyman Gibson"], ["description", "Estefana Torphy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 16], ["created_at", "2018-09-05 19:27:43.766279"], ["updated_at", "2018-09-05 19:27:43.766279"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Franklin Parisian"], ["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", "Savanna Bosco"], ["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", "Franklin Parisian"], ["name", "Savanna Bosco"], ["description", "Ceola Marquardt"], ["created_at", "2018-09-05 19:27:43.773733"], ["updated_at", "2018-09-05 19:27:43.773733"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Leah Schamberger"], ["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", "Leah Schamberger"], ["name", "Eduardo Larkin"], ["location_type_id", 16], ["description", "Dolores Simonis"], ["address", "Alida Towne"], ["created_at", "2018-09-05 19:27:43.778187"], ["updated_at", "2018-09-05 19:27:43.778187"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Loria Rippin"], ["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", "Tammi Schroeder"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Create (1.3ms) 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", "Loria Rippin"], ["name", "Carter Macejkovic"], ["description", "Jamison Baumbach"], ["serial_number", "Tammi Schroeder"], ["brand", "Joette Oberbrunner"], ["item_model", "Henry Johnson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 16], ["current_location_id", 16], ["created_at", "2018-09-05 19:27:43.786919"], ["updated_at", "2018-09-05 19:27:43.786919"]] +  (1.5ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) 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", "Argelia Spencer"], ["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", "Felix Kilback"], ["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", "Argelia Spencer"], ["name", "Felix Kilback"], ["created_at", "2018-09-05 19:27:43.799124"], ["updated_at", "2018-09-05 19:27:43.799124"]] +  (0.8ms) 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", "Ghislaine Barton"], ["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", "Ghislaine Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.805108"], ["updated_at", "2018-09-05 19:27:43.805108"]] +  (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", "Homer Barrows"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Homer Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.810417"], ["updated_at", "2018-09-05 19:27:43.810417"]] +  (0.8ms) RELEASE SAVEPOINT active_record_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", "Gil Kunde"], ["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", "Gil Kunde"], ["name", "Rema Gutkowski"], ["address", "Karin Kautzer"], ["created_at", "2018-09-05 19:27:43.818792"], ["updated_at", "2018-09-05 19:27:43.818792"]] +  (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", "Jo McKenzie"], ["service_delivery_unit_id", 54], ["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", "Jo McKenzie"], ["name", "Fern Quitzon"], ["service_type_id", 29], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 19:27:43.823927"], ["updated_at", "2018-09-05 19:27:43.823927"]] + 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]] + 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", "Jo McKenzie"], ["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", "Jo McKenzie"], ["name", "Fern Quitzon"], ["description", "Default bundle for service 'Fern Quitzon'"], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 19:27:43.828923"], ["updated_at", "2018-09-05 19:27:43.828923"]] + 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", 49], ["chargeable_service_id", 28]] +  (0.6ms) 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", 28], ["equipment_item_id", 16], ["created_at", "2018-09-05 19:27:43.834856"], ["updated_at", "2018-09-05 19:27:43.834856"]] +  (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.9ms) 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.7ms) 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.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]] +[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.8ms) 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.7ms) 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.7ms) 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 (12.74ms) +Completed 200 OK in 19ms (Views: 8.1ms | ActiveRecord: 8.5ms) +  (0.9ms) ROLLBACK +  (0.7ms) BEGIN +  (1.4ms) 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", "lyn@skiles.ca"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Kerry Hermiston"], ["last_name", "Cory Prosacco"], ["email", "lyn@skiles.ca"], ["password_digest", "$2a$04$Grzcjk3xmuXumdfyhTsEd.U4CoqGmaxUcF7J4BDLs3rDGbGCEspkq"], ["created_at", "2018-09-05 19:27:43.868616"], ["updated_at", "2018-09-05 19:27:43.868616"]] +  (0.7ms) 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", "Kristyn Nader"], ["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", "Xiomara Murray"], ["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", "Kristyn Nader"], ["name", "Xiomara Murray"], ["created_at", "2018-09-05 19:27:43.877245"], ["updated_at", "2018-09-05 19:27:43.877245"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#index as HTML + Mks::Auth::User Load (1.2ms) 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.9ms) 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.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" +No serializer found for resource: #<Mks::Rate::ServiceType id: 30, code: "Kristyn Nader", name: "Xiomara Murray", created_at: "2018-09-05 19:27:43", updated_at: "2018-09-05 19:27:43"> +[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceType::ActiveRecord_Relation (0.26ms) +Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 2.8ms) +  (1.0ms) 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", "reva_medhurst@hegmann.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", "Alysa Hudson"], ["last_name", "Tari Lindgren"], ["email", "reva_medhurst@hegmann.ca"], ["password_digest", "$2a$04$SY09ZSGvydylLIDgEkBnDuYNdRWJbQjTUDPuGqOalHZ38a9gD1une"], ["created_at", "2018-09-05 19:27:43.900182"], ["updated_at", "2018-09-05 19:27:43.900182"]] +  (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", "Oliva Rolfson"], ["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", "Gaylord Wehner"], ["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", "Oliva Rolfson"], ["name", "Gaylord Wehner"], ["created_at", "2018-09-05 19:27:43.906134"], ["updated_at", "2018-09-05 19:27:43.906134"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#show as HTML + Parameters: {"id"=>"31"} + Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] + Mks::Rate::ServiceType Load (1.2ms) 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 (1.3ms) 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.33ms) +Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 3.6ms) +  (1.4ms) 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", "lashawnda.doyle@konopelski.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", "Bonnie Tromp"], ["last_name", "Raul Grimes"], ["email", "lashawnda.doyle@konopelski.us"], ["password_digest", "$2a$04$hk6pS7FgFKsdslpr2NiWAepq7iohdYD4awsQ31y2/ww299WDEjiUy"], ["created_at", "2018-09-05 19:27:43.925816"], ["updated_at", "2018-09-05 19:27:43.925816"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types" +Processing by Mks::Rate::ServiceTypesController#create as HTML + Parameters: {"service_type"=>{"code"=>"Velia Kris", "name"=>"Katia Dickinson"}} + 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.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", "Velia Kris"], ["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", "Katia Dickinson"], ["LIMIT", 1]] + Mks::Rate::ServiceType Create (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Velia Kris"], ["name", "Katia Dickinson"], ["created_at", "2018-09-05 19:27:43.937345"], ["updated_at", "2018-09-05 19:27:43.937345"]] +  (0.9ms) RELEASE 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", 59], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) +Completed 201 Created in 14ms (Views: 2.1ms | ActiveRecord: 7.4ms) +  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types" +  (0.7ms) ROLLBACK +  (0.8ms) BEGIN +  (0.8ms) 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", "jeniffer_carter@hyatt.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", "Dean Witting"], ["last_name", "Porfirio Fritsch"], ["email", "jeniffer_carter@hyatt.name"], ["password_digest", "$2a$04$au/uP.ZNX7A2YAct5k.3jeDD6I6wZcz8brPMEGPVBMxAvv.gXmizq"], ["created_at", "2018-09-05 19:27:43.956447"], ["updated_at", "2018-09-05 19:27:43.956447"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#create as HTML + Parameters: {"service_type"=>{"code"=>"Delisa Davis", "name"=>"Gabriella Torp"}} + Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] +  (0.9ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Delisa Davis"], ["LIMIT", 1]] + Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gabriella Torp"], ["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", "Delisa Davis"], ["name", "Gabriella Torp"], ["created_at", "2018-09-05 19:27:43.969454"], ["updated_at", "2018-09-05 19:27:43.969454"]] +  (0.4ms) 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", 60], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) +Completed 201 Created in 13ms (Views: 1.5ms | ActiveRecord: 6.7ms) + Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.6ms) BEGIN +  (0.8ms) 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", "troy@gutmannwatsica.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", "Angila Upton"], ["last_name", "Marinda Will"], ["email", "troy@gutmannwatsica.name"], ["password_digest", "$2a$04$S78b3ONdF4DI3dFFV4YCoebYty0fJpvBKWcWu4GTkAp/FNKuZ.H1K"], ["created_at", "2018-09-05 19:27:43.985702"], ["updated_at", "2018-09-05 19:27:43.985702"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#create as HTML + Parameters: {"service_type"=>{"code"=>"", "name"=>"Lilia Mayert"}} + Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["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", ""], ["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", "Lilia Mayert"], ["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.07ms) +Completed 422 Unprocessable Entity in 8ms (Views: 1.1ms | ActiveRecord: 3.8ms) +  (0.6ms) ROLLBACK +  (0.6ms) BEGIN +  (1.4ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dorinda@lueilwitz.info"], ["LIMIT", 1]] + Mks::Auth::User Create (2.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", "Conception Lesch"], ["last_name", "Shella Marquardt"], ["email", "dorinda@lueilwitz.info"], ["password_digest", "$2a$04$D/AhiJhHCurp97fWh1TO0.zbRipYFjBwjU3xYmYdMfFCA4NCE1qBK"], ["created_at", "2018-09-05 19:27:44.008770"], ["updated_at", "2018-09-05 19:27:44.008770"]] +  (0.8ms) RELEASE SAVEPOINT active_record_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 LIMIT $2 [["code", "Valeria Kutch"], ["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", "Crissy Hettinger"], ["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", "Valeria Kutch"], ["name", "Crissy Hettinger"], ["created_at", "2018-09-05 19:27:44.018355"], ["updated_at", "2018-09-05 19:27:44.018355"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#update as HTML + Parameters: {"service_type"=>{"name"=>"Merissa Davis"}, "id"=>"34"} + Mks::Auth::User Load (1.1ms) 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.6ms) 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", "Valeria Kutch"], ["id", 34], ["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", "Merissa Davis"], ["id", 34], ["LIMIT", 1]] + Mks::Rate::ServiceType Update (1.1ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Merissa Davis"], ["updated_at", "2018-09-05 19:27:44.029788"], ["id", 34]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 + 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]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) +Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 8.1ms) + 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", 34], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (0.6ms) 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", "tanna@manncasper.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", "Bret Raynor"], ["last_name", "Issac Abshire"], ["email", "tanna@manncasper.com"], ["password_digest", "$2a$04$OxfZ4WEKwS7Z6tyKfWfK9O9VIBdtaj8oiqnqQK9c.aQBnzJIPeDoS"], ["created_at", "2018-09-05 19:27:44.045633"], ["updated_at", "2018-09-05 19:27:44.045633"]] +  (1.5ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Zachery Swaniawski"], ["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", "Anglea Rosenbaum"], ["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", "Zachery Swaniawski"], ["name", "Anglea Rosenbaum"], ["created_at", "2018-09-05 19:27:44.056838"], ["updated_at", "2018-09-05 19:27:44.056838"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#update as HTML + Parameters: {"service_type"=>{"code"=>"Angeline Gleason", "name"=>"Elida Braun"}, "id"=>"35"} + Mks::Auth::User Load (0.9ms) 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.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] +  (1.1ms) 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Angeline Gleason"], ["id", 35], ["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", "Elida Braun"], ["id", 35], ["LIMIT", 1]] + Mks::Rate::ServiceType Update (1.4ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Angeline Gleason"], ["name", "Elida Braun"], ["updated_at", "2018-09-05 19:27:44.068931"], ["id", 35]] +  (1.3ms) 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", 63], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) +Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 8.0ms) +  (0.6ms) ROLLBACK +  (0.5ms) 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", "alla@botsfordbins.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", "Andre Barrows"], ["last_name", "Julie Herman"], ["email", "alla@botsfordbins.biz"], ["password_digest", "$2a$04$TEuKFBAsiFvfKDVqF/MdQeqyKiQFoLFV6EjoQ1DSSfDBvd3Z8PiUi"], ["created_at", "2018-09-05 19:27:44.083113"], ["updated_at", "2018-09-05 19:27:44.083113"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (17.8ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Demetrius Ebert"], ["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", "Virgen Stracke"], ["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", "Demetrius Ebert"], ["name", "Virgen Stracke"], ["created_at", "2018-09-05 19:27:44.109922"], ["updated_at", "2018-09-05 19:27:44.109922"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::ServiceTypesController#update as HTML + Parameters: {"service_type"=>{"code"=>"", "name"=>"Twana Reilly"}, "id"=>"36"} + Mks::Auth::User Load (1.4ms) 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.7ms) 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.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", ""], ["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", "Twana Reilly"], ["id", 36], ["LIMIT", 1]] +  (0.5ms) 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", 64], ["LIMIT", 1]] +[active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) +Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 5.5ms) +  (0.7ms) 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", "manual_mcdermott@ritchie.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", "Tessie Runolfsson"], ["last_name", "Mardell Leannon"], ["email", "manual_mcdermott@ritchie.biz"], ["password_digest", "$2a$04$psa5Cqim0c0T0UwoSvlqIOHnNQVOZWoaLxwUTIK5.ZuVPPRU1.iyS"], ["created_at", "2018-09-05 19:27:44.132711"], ["updated_at", "2018-09-05 19:27:44.132711"]] +  (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", "Sierra Medhurst"], ["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", "Sierra Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.137811"], ["updated_at", "2018-09-05 19:27:44.137811"]] +  (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", "Linnie Cassin"], ["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", "Linnie Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.142539"], ["updated_at", "2018-09-05 19:27:44.142539"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::UnitOfCharge Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gwendolyn White"], ["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", "Gwendolyn White"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.150963"], ["updated_at", "2018-09-05 19:27:44.150963"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +Processing by Mks::Rate::UnitOfChargesController#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", 65], ["LIMIT", 1]] +  (1.0ms) 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: #<Mks::Rate::UnitOfCharge id: 59, name: "Sierra Medhurst", unit_variables: {"meter"=>"float", "day"=>"float"}, created_at: "2018-09-05 19:27:44", updated_at: "2018-09-05 19:27:44"> +[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.48ms) +  (1.4ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" + Mks::Auth::User Load (1.0ms) 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.53ms) +Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 5.0ms) +  (0.8ms) ROLLBACK +  (0.8ms) BEGIN +  (0.8ms) 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", "Shay Collier"], ["LIMIT", 1]] + Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brain Crona"], ["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", "Shay Collier"], ["name", "Brain Crona"], ["created_at", "2018-09-05 19:27:44.180132"], ["updated_at", "2018-09-05 19:27:44.180132"]] +  (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", "Ailene Bergnaum"], ["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", "Ailene Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.185898"], ["updated_at", "2018-09-05 19:27:44.185898"]] +  (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", "Jared Parisian"], ["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", "Jared Parisian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.191010"], ["updated_at", "2018-09-05 19:27:44.191010"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "Glynda Collins"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Glynda Collins"], ["name", "Rafael Herman"], ["address", "Francesca Braun"], ["created_at", "2018-09-05 19:27:44.197268"], ["updated_at", "2018-09-05 19:27:44.197268"]] +  (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", "Desiree Bayer"], ["service_delivery_unit_id", 55], ["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", "Desiree Bayer"], ["name", "Kellee Kling"], ["service_type_id", 37], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 19:27:44.207720"], ["updated_at", "2018-09-05 19:27:44.207720"]] + 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Desiree Bayer"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.6ms) 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", "Desiree Bayer"], ["name", "Kellee Kling"], ["description", "Default bundle for service 'Kellee Kling'"], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 19:27:44.213358"], ["updated_at", "2018-09-05 19:27:44.213358"]] + 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", 50], ["chargeable_service_id", 29]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.1ms) 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", "Desiree Bayer"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.6ms) 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", "Mari Littel"], ["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", "Karri Hyatt"], ["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", "Mari Littel"], ["name", "Karri Hyatt"], ["created_at", "2018-09-05 19:27:44.230860"], ["updated_at", "2018-09-05 19:27:44.230860"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + 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", "Gabriela Bode"], ["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", "Gabriela Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.237554"], ["updated_at", "2018-09-05 19:27:44.237554"]] +  (0.9ms) 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", "Maud Runolfsson"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (2.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maud Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.244305"], ["updated_at", "2018-09-05 19:27:44.244305"]] +  (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", "Delora 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", "Delora Mills"], ["name", "Cassy Lueilwitz"], ["address", "Joaquin Becker"], ["created_at", "2018-09-05 19:27:44.252046"], ["updated_at", "2018-09-05 19:27:44.252046"]] +  (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" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 56], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.4ms) 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", "Damion Jakubowski"], ["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", "Keith Botsford"], ["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", "Damion Jakubowski"], ["name", "Keith Botsford"], ["created_at", "2018-09-05 19:27:44.263023"], ["updated_at", "2018-09-05 19:27:44.263023"]] +  (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", "Patrick Bernhard"], ["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", "Patrick Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.268477"], ["updated_at", "2018-09-05 19:27:44.268477"]] +  (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", "Allen 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", "Allen Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.273117"], ["updated_at", "2018-09-05 19:27:44.273117"]] +  (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", "Karri 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", "Karri Jewess"], ["name", "Penni Crona"], ["address", "Tora Huel"], ["created_at", "2018-09-05 19:27:44.277715"], ["updated_at", "2018-09-05 19:27:44.277715"]] +  (0.8ms) 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" = $2 LIMIT $3 [["code", "Naomi Lowe"], ["service_delivery_unit_id", 57], ["LIMIT", 1]] +  (0.8ms) ROLLBACK +  (0.6ms) 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", "Cherrie Hackett"], ["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", "Gena Collier"], ["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", "Cherrie Hackett"], ["name", "Gena Collier"], ["created_at", "2018-09-05 19:27:44.291670"], ["updated_at", "2018-09-05 19:27:44.291670"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Maxie Adams"], ["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", "Maxie Adams"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.296694"], ["updated_at", "2018-09-05 19:27:44.296694"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Jessie 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", "Jessie Hauck"], ["name", "Krysten Mosciski"], ["address", "Mina Bins"], ["created_at", "2018-09-05 19:27:44.302336"], ["updated_at", "2018-09-05 19:27:44.302336"]] +  (0.9ms) 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" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sherril Windler"], ["service_delivery_unit_id", 58], ["LIMIT", 1]] +  (0.9ms) ROLLBACK +  (0.6ms) BEGIN +  (1.3ms) 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", "Jarrod Littel"], ["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", "Eilene Mills"], ["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", "Jarrod Littel"], ["name", "Eilene Mills"], ["created_at", "2018-09-05 19:27:44.318579"], ["updated_at", "2018-09-05 19:27:44.318579"]] +  (0.4ms) 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", "Rachael Larson"], ["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", "Rachael Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.323012"], ["updated_at", "2018-09-05 19:27:44.323012"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Alda Trantow"], ["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", "Alda Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.330386"], ["updated_at", "2018-09-05 19:27:44.330386"]] +  (1.1ms) 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", "Lucinda Walsh"], ["LIMIT", 1]] +  (0.9ms) 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", "Val Bergnaum"], ["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", "Rachal Swift"], ["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", "Val Bergnaum"], ["name", "Rachal Swift"], ["created_at", "2018-09-05 19:27:44.344150"], ["updated_at", "2018-09-05 19:27:44.344150"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Rate::UnitOfCharge Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Romana Altenwerth"], ["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", "Romana Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.351339"], ["updated_at", "2018-09-05 19:27:44.351339"]] +  (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", "Toshiko Hudson"], ["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", "Toshiko Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.356805"], ["updated_at", "2018-09-05 19:27:44.356805"]] +  (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", "Tisa Stracke"], ["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", "Tisa Stracke"], ["name", "Demarcus Stark"], ["address", "Farrah Wyman"], ["created_at", "2018-09-05 19:27:44.362480"], ["updated_at", "2018-09-05 19:27:44.362480"]] +  (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", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["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", "Roger Christiansen"], ["name", "Eric Lakin"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 19:27:44.368688"], ["updated_at", "2018-09-05 19:27:44.368688"]] + 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", 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", "Roger Christiansen"], ["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", "Roger Christiansen"], ["name", "Eric Lakin"], ["description", "Default bundle for service 'Eric Lakin'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 19:27:44.373664"], ["updated_at", "2018-09-05 19:27:44.373664"]] + 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", 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", "Salvador Buckridge"], ["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", "Lori Gorczany"], ["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", "Salvador Buckridge"], ["name", "Lori Gorczany"], ["created_at", "2018-09-05 19:27:44.382368"], ["updated_at", "2018-09-05 19:27:44.382368"]] +  (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", "Olivia Welch"], ["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", "Olivia Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.387887"], ["updated_at", "2018-09-05 19:27:44.387887"]] +  (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", "Tommye Wilderman"], ["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", "Tommye Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.392289"], ["updated_at", "2018-09-05 19:27:44.392289"]] +  (0.8ms) RELEASE 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", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["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", 59], ["LIMIT", 1]] +  (1.0ms) 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", "Alfredo Reichert"], ["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", "Gema Rath"], ["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", "Alfredo Reichert"], ["name", "Gema Rath"], ["created_at", "2018-09-05 19:27:44.405277"], ["updated_at", "2018-09-05 19:27:44.405277"]] +  (0.8ms) 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", "Crystal Kerluke"], ["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", "Crystal Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.410338"], ["updated_at", "2018-09-05 19:27:44.410338"]] +  (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", "Siobhan Hand"], ["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", "Siobhan Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.414602"], ["updated_at", "2018-09-05 19:27:44.414602"]] +  (0.4ms) 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", "Kemberly Lebsack"], ["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", "Kemberly Lebsack"], ["name", "Joaquina Jenkins"], ["address", "Idalia Schroeder"], ["created_at", "2018-09-05 19:27:44.419369"], ["updated_at", "2018-09-05 19:27:44.419369"]] +  (0.9ms) 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", "Jewell Gerhold"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (2.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", "Jewell Gerhold"], ["name", "Regena Kassulke"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 19:27:44.425637"], ["updated_at", "2018-09-05 19:27:44.425637"]] + Mks::Rate::ServiceDeliveryUnit Load (1.3ms) 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jewell Gerhold"], ["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", "Jewell Gerhold"], ["name", "Regena Kassulke"], ["description", "Default bundle for service 'Regena Kassulke'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 19:27:44.433795"], ["updated_at", "2018-09-05 19:27:44.433795"]] + 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", 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.2ms) 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.6ms) ROLLBACK +  (0.6ms) 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", "charlette.jaskolski@roob.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", "Lashay Ortiz"], ["last_name", "Carol Botsford"], ["email", "charlette.jaskolski@roob.name"], ["password_digest", "$2a$04$c4w2vb7xyGnZx8ofE49.lewcx6wko0uHli4qmg/BvXaOUVilUFzY."], ["created_at", "2018-09-05 19:27:44.452846"], ["updated_at", "2018-09-05 19:27:44.452846"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) 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", "su_champlin@kleinschoen.us"], ["LIMIT", 1]] + Mks::Auth::User Create (3.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", "Son Boyle"], ["last_name", "Shantay Bernier"], ["email", "su_champlin@kleinschoen.us"], ["password_digest", "$2a$04$HwEQI83TyVWhqZxigNQZlOI2Z6GqLHAC11gaoVMLPFo6n0A9B541a"], ["created_at", "2018-09-05 19:27:44.460719"], ["updated_at", "2018-09-05 19:27:44.460719"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) 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", "Queenie Green"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (1.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", "Queenie Green"], ["authorized_by", "Shayna Schmeler"], ["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 19:27:44.473286"], ["updated_at", "2018-09-05 19:27:44.473286"]] +  (0.7ms) 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", "Queenie Green"], ["id", 8], ["LIMIT", 1]] +  (0.9ms) ROLLBACK +  (0.5ms) BEGIN +  (0.8ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "keeley@kleinhammes.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", "Katina Hintz"], ["last_name", "Demetra Bahringer"], ["email", "keeley@kleinhammes.name"], ["password_digest", "$2a$04$59NN/7mNT9ol2aDgl3tWAu.XiQXHDXP8sfziAxJPBXKJTgkviVVu6"], ["created_at", "2018-09-05 19:27:44.489121"], ["updated_at", "2018-09-05 19:27:44.489121"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (1.4ms) 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", "america@ornbatz.info"], ["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", "Cristal Leuschke"], ["last_name", "Bernardine Bednar"], ["email", "america@ornbatz.info"], ["password_digest", "$2a$04$hvmKdb8xLv5hu/pYIAWtT.eAoeNQh/84ibdbsPpN7QaE3MKYql28a"], ["created_at", "2018-09-05 19:27:44.499232"], ["updated_at", "2018-09-05 19:27:44.499232"]] +  (0.6ms) 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", "Joaquina Mohr"], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.5ms) BEGIN +  (1.4ms) 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", "king.goyette@kilbackhyatt.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", "Larhonda Hauck"], ["last_name", "Lyndon Abshire"], ["email", "king.goyette@kilbackhyatt.ca"], ["password_digest", "$2a$04$MPm.BG1XbgZbmNB8DYDd9ugACTUWnzwdU.xamtYUWUOK46RTIe89y"], ["created_at", "2018-09-05 19:27:44.513197"], ["updated_at", "2018-09-05 19:27:44.513197"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (2.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "youlanda.rodriguez@runte.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", "Arlen Becker"], ["last_name", "Cami Gleason"], ["email", "youlanda.rodriguez@runte.info"], ["password_digest", "$2a$04$HMYemujuF8YV2vZv/H9/G.QL2/RUmNgMsJkxqDXBp1Qi9OuuA5m12"], ["created_at", "2018-09-05 19:27:44.522375"], ["updated_at", "2018-09-05 19:27:44.522375"]] +  (1.1ms) 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" IS NULL LIMIT $1 [["LIMIT", 1]] +  (1.0ms) 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", "loreta@andersonbauch.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", "Marvella Fay"], ["last_name", "Sindy Bergnaum"], ["email", "loreta@andersonbauch.com"], ["password_digest", "$2a$04$/sLyDdXAd5N8tnjAG1IZXeiXAh2prsgF3Q3MvqavOTiSqKVkeZzEa"], ["created_at", "2018-09-05 19:27:44.538002"], ["updated_at", "2018-09-05 19:27:44.538002"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ayanna_jones@mcglynnbrekke.ca"], ["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", "Un Mueller"], ["last_name", "Tomoko Baumbach"], ["email", "ayanna_jones@mcglynnbrekke.ca"], ["password_digest", "$2a$04$K5fgWDy4/6EsP5dhICAZpO6Lsq29Dx987tteSbHgN7UM9K8tckyqm"], ["created_at", "2018-09-05 19:27:44.546592"], ["updated_at", "2018-09-05 19:27:44.546592"]] +  (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", "Karmen Roob"], ["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", "Karmen Roob"], ["authorized_by", "Christi Kling"], ["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 19:27:44.552193"], ["updated_at", "2018-09-05 19:27:44.552193"]] +  (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", "breanne.legros@dooley.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", "Elli Lubowitz"], ["last_name", "Faye Barrows"], ["email", "breanne.legros@dooley.biz"], ["password_digest", "$2a$04$fSJqC7iojDcoF1Ingj0L.esBO623IXEwClohYS/sbKueO6cwFXuzi"], ["created_at", "2018-09-05 19:27:44.559687"], ["updated_at", "2018-09-05 19:27:44.559687"]] +  (0.4ms) 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", "horacio_tremblay@wehnergrady.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", "Karon Schaefer"], ["last_name", "Kassie Romaguera"], ["email", "horacio_tremblay@wehnergrady.name"], ["password_digest", "$2a$04$9riykXOSZBKw3Zu1YU1RqeECyMQ8NkPPKIMg5Mbn3jop.eKvYkzkq"], ["created_at", "2018-09-05 19:27:44.566121"], ["updated_at", "2018-09-05 19:27:44.566121"]] +  (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", "Karmen Roob"], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (0.4ms) 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", "kari@armstrong.biz"], ["LIMIT", 1]] + Mks::Auth::User Create (1.5ms) 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", "Lawana Frami"], ["last_name", "Naoma Considine"], ["email", "kari@armstrong.biz"], ["password_digest", "$2a$04$TMnce11FN2WKpXfT/gVikuL684LayAroexdhZ9XrlmC4UuLvVG7Xm"], ["created_at", "2018-09-05 19:27:44.578141"], ["updated_at", "2018-09-05 19:27:44.578141"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +  (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", "odilia@goldner.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", "Damon Douglas"], ["last_name", "Evie Greenholt"], ["email", "odilia@goldner.ca"], ["password_digest", "$2a$04$I2XklWYxBP6kv2YGqlhO5O7r6lRGL.6LLdQaEjQmHBrmtaPfyRWni"], ["created_at", "2018-09-05 19:27:44.587831"], ["updated_at", "2018-09-05 19:27:44.587831"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::RateChangeRequest Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lavone McDermott"], ["LIMIT", 1]] +  (0.9ms) ROLLBACK +  (0.9ms) 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", "kyong_marquardt@oga.com"], ["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", "Joi Vandervort"], ["last_name", "Shandra Lemke"], ["email", "kyong_marquardt@oga.com"], ["password_digest", "$2a$04$TqPmPOPcmpPwkRlF68FuruhDmu4bpRoEiSGvZe5jdCkat71.q5Ura"], ["created_at", "2018-09-05 19:27:44.603898"], ["updated_at", "2018-09-05 19:27:44.603898"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (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", "larue@gerhold.ca"], ["LIMIT", 1]] + Mks::Auth::User Create (1.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", "Ria Stark"], ["last_name", "Mervin Zieme"], ["email", "larue@gerhold.ca"], ["password_digest", "$2a$04$eSp0.f8dgTpMw856TJlrT.C7RqtYSlwC0wOAhT5W81Y9jlesx0uGy"], ["created_at", "2018-09-05 19:27:44.612033"], ["updated_at", "2018-09-05 19:27:44.612033"]] +  (0.8ms) RELEASE 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", "Lili King"], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.4ms) 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", "oneida@vandervort.com"], ["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", "Emmy Daniel"], ["last_name", "Caryl Heidenreich"], ["email", "oneida@vandervort.com"], ["password_digest", "$2a$04$xmJODmSgBD2U/AwFYXEp3u79hFfKFTodH4pO4KBoRgEh0LerAEd6C"], ["created_at", "2018-09-05 19:27:44.626966"], ["updated_at", "2018-09-05 19:27:44.626966"]] +  (1.0ms) 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", "raina_wuckert@mcdermottledner.us"], ["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", "Angella Von"], ["last_name", "Damian Von"], ["email", "raina_wuckert@mcdermottledner.us"], ["password_digest", "$2a$04$RmlSwyIpwYbWEQR.RuruEOtq8a6bgwIzFStdu46ncQauImnd2zOTu"], ["created_at", "2018-09-05 19:27:44.636222"], ["updated_at", "2018-09-05 19:27:44.636222"]] +  (0.7ms) 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", "Keven Dickinson"], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (0.4ms) 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", "machelle.cummings@towne.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", "Toney Huels"], ["last_name", "Whitney Robel"], ["email", "machelle.cummings@towne.ca"], ["password_digest", "$2a$04$NnWmDZoLGOzJ6d73lQX3KOPoovFwRXS69/4sfLeg0QyYUvR1vdDhO"], ["created_at", "2018-09-05 19:27:44.649933"], ["updated_at", "2018-09-05 19:27:44.649933"]] +  (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", "sharyl@rohan.co.uk"], ["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", "Yun Quitzon"], ["last_name", "Sharron Goldner"], ["email", "sharyl@rohan.co.uk"], ["password_digest", "$2a$04$ffptrY6BsGAOVGi5tfoNxeuJCKgwxeoABNmFmKzIbuFIsIHz5JjvG"], ["created_at", "2018-09-05 19:27:44.657354"], ["updated_at", "2018-09-05 19:27:44.657354"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::RateChangeRequest Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Aida Schmeler"], ["LIMIT", 1]] +  (0.6ms) 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", "mary@bashirian.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", "Ester Rosenbaum"], ["last_name", "Ashely Dickinson"], ["email", "mary@bashirian.com"], ["password_digest", "$2a$04$WtG0LZFs7sprSM7w6PZ5T.tUYg3IdohKgnzJwgqiwYE.AGqBRt5HC"], ["created_at", "2018-09-05 19:27:44.672645"], ["updated_at", "2018-09-05 19:27:44.672645"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (1.6ms) SAVEPOINT active_record_1 + Mks::Rate::RateChangeRequest Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Phil Lesch"], ["LIMIT", 1]] + Mks::Rate::RateChangeRequest Create (1.5ms) 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", "Phil Lesch"], ["authorized_by", "Fran Keeling"], ["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 19:27:44.681089"], ["updated_at", "2018-09-05 19:27:44.681089"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::RateChangeRequest Exists (1.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", "Phil Lesch"], ["id", 10], ["LIMIT", 1]] +  (1.2ms) ROLLBACK +  (0.9ms) BEGIN +  (1.3ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Collin Dickinson"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Collin Dickinson"], ["name", "Jacquiline Hills"], ["address", "Colby Carroll"], ["created_at", "2018-09-05 19:27:44.700593"], ["updated_at", "2018-09-05 19:27:44.700593"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rona Schowalter"], ["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", "Rona Schowalter"], ["name", "Saul Doyle"], ["description", "Minh Hermann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 19:27:44.709946"], ["updated_at", "2018-09-05 19:27:44.709946"]] +  (1.2ms) RELEASE 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 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Rona Schowalter"], ["id", 53], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.4ms) 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", "Pamela Mante"], ["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", "Pamela Mante"], ["name", "Debora Hagenes"], ["address", "Max Casper"], ["created_at", "2018-09-05 19:27:44.721962"], ["updated_at", "2018-09-05 19:27:44.721962"]] +  (1.1ms) RELEASE 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" IS NULL LIMIT $1 [["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.4ms) BEGIN +  (1.0ms) 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", "Yon Kreiger"], ["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", "Yon Kreiger"], ["name", "Taunya Spinka"], ["address", "Margarita Bahringer"], ["created_at", "2018-09-05 19:27:44.735357"], ["updated_at", "2018-09-05 19:27:44.735357"]] +  (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", "Tama Beatty"], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.5ms) BEGIN +  (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", "Alison Greenholt"], ["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", "Alison Greenholt"], ["name", "Rupert Aufderhar"], ["address", "Lucretia Feest"], ["created_at", "2018-09-05 19:27:44.744702"], ["updated_at", "2018-09-05 19:27:44.744702"]] +  (0.6ms) RELEASE 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", "Ferne White"], ["LIMIT", 1]] +  (0.8ms) ROLLBACK +  (0.5ms) BEGIN +  (1.5ms) 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", "Caprice Deckow"], ["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", "Caprice Deckow"], ["name", "Willodean Gulgowski"], ["address", "Matilde Ondricka"], ["created_at", "2018-09-05 19:27:44.758216"], ["updated_at", "2018-09-05 19:27:44.758216"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) 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", "Yong Lehner"], ["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", "Yong Lehner"], ["name", "Lawrence Doyle"], ["description", "Jeffery Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 19:27:44.763432"], ["updated_at", "2018-09-05 19:27:44.763432"]] +  (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", "Dorathy Zieme"], ["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", "Dorathy Zieme"], ["name", "Mable Gusikowski"], ["address", "Katharyn Smith"], ["created_at", "2018-09-05 19:27:44.769097"], ["updated_at", "2018-09-05 19:27:44.769097"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Yong Lehner"], ["LIMIT", 1]] +  (0.8ms) ROLLBACK +  (0.8ms) BEGIN +  (1.0ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rhona Upton"], ["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", "Rhona Upton"], ["name", "Rosy Abshire"], ["address", "Porter Effertz"], ["created_at", "2018-09-05 19:27:44.782993"], ["updated_at", "2018-09-05 19:27:44.782993"]] +  (0.5ms) RELEASE 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 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Rhona Upton"], ["id", 67], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.6ms) BEGIN + Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]] +  (0.5ms) 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", "Ula Rogahn"], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (0.6ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cherise Hodkiewicz"], ["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", "Cherise Hodkiewicz"], ["name", "Noemi Durgan"], ["address", "Vernia Rath"], ["created_at", "2018-09-05 19:27:44.804924"], ["updated_at", "2018-09-05 19:27:44.804924"]] +  (0.6ms) RELEASE 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", "Cherise Hodkiewicz"], ["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.8ms) BEGIN +  (1.0ms) 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", "Margert Ferry"], ["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", "Mi Lehner"], ["LIMIT", 1]] + Mks::Edm::EquipmentType Create (1.5ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Margert Ferry"], ["name", "Mi Lehner"], ["description", "Dolor veniam fugit nihil error voluptas dolores provident quia. Velit non dolores corporis quo. Occaecati dolorum sequi voluptas reiciendis labore perspiciatis libero explicabo. Praesentium omnis consequatur exercitationem eius quas explicabo."], ["created_at", "2018-09-05 19:27:44.822387"], ["updated_at", "2018-09-05 19:27:44.822387"]] +  (0.4ms) 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", "Candi Hudson"], ["LIMIT", 1]] + Mks::Edm::EquipmentCategory Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Rhonda O'Conner"], ["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", "Candi Hudson"], ["name", "Rhonda O'Conner"], ["description", "Ullam officiis quaerat sunt modi asperiores aut sed at. Nihil quod placeat voluptatem porro ullam et beatae. Qui illum maxime eum eum sunt sint. Natus labore necessitatibus accusantium dolore quisquam a cum sit. Dolorem expedita veritatis consequuntur voluptatem accusantium minus."], ["equipment_type_id", 17], ["created_at", "2018-09-05 19:27:44.830299"], ["updated_at", "2018-09-05 19:27:44.830299"]] +  (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", "Kayleen Farrell"], ["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", "Kayleen Farrell"], ["name", "Tambra Hills"], ["description", "Karen Koepp"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 17], ["created_at", "2018-09-05 19:27:44.835312"], ["updated_at", "2018-09-05 19:27:44.835312"]] +  (0.4ms) 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", "Enid Schimmel"], ["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", "Lauren Anderson"], ["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", "Enid Schimmel"], ["name", "Lauren Anderson"], ["description", "Kate Schiller"], ["created_at", "2018-09-05 19:27:44.841334"], ["updated_at", "2018-09-05 19:27:44.841334"]] +  (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", "Evelina Howe"], ["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", "Evelina Howe"], ["name", "Bruno Dicki"], ["location_type_id", 17], ["description", "Dean Gottlieb"], ["address", "Santos Denesik"], ["created_at", "2018-09-05 19:27:44.845725"], ["updated_at", "2018-09-05 19:27:44.845725"]] +  (0.6ms) 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", "Amado Daugherty"], ["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", "Alene Bruen"], ["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", "Amado Daugherty"], ["name", "Isis Lang"], ["description", "Mirna Keebler"], ["serial_number", "Alene Bruen"], ["brand", "Jefferey Gorczany"], ["item_model", "Francie Greenholt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 17], ["current_location_id", 17], ["created_at", "2018-09-05 19:27:44.851240"], ["updated_at", "2018-09-05 19:27:44.851240"]] +  (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", "Arlen Nicolas"], ["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", "Aliza Mueller"], ["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", "Arlen Nicolas"], ["name", "Aliza Mueller"], ["created_at", "2018-09-05 19:27:44.857372"], ["updated_at", "2018-09-05 19:27:44.857372"]] +  (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", "Antonia Murazik"], ["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", "Antonia Murazik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.861974"], ["updated_at", "2018-09-05 19:27:44.861974"]] +  (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", "Kimberly Hegmann"], ["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", "Kimberly Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.866604"], ["updated_at", "2018-09-05 19:27:44.866604"]] +  (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", "Vena King"], ["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", "Vena King"], ["name", "Lovella Hessel"], ["address", "Emiko Sporer"], ["created_at", "2018-09-05 19:27:44.871064"], ["updated_at", "2018-09-05 19:27:44.871064"]] +  (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", "Donetta Hammes"], ["service_delivery_unit_id", 69], ["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", "Donetta Hammes"], ["name", "Keely Wolf"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 19:27:44.875543"], ["updated_at", "2018-09-05 19:27:44.875543"]] + 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", 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", "Donetta Hammes"], ["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", "Donetta Hammes"], ["name", "Keely Wolf"], ["description", "Default bundle for service 'Keely Wolf'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 19:27:44.880380"], ["updated_at", "2018-09-05 19:27:44.880380"]] + 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", 55], ["chargeable_service_id", 32]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceRate Create (0.9ms) 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 19:27:44.886465"], ["updated_at", "2018-09-05 19:27:44.886465"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) ROLLBACK +  (0.4ms) 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", "Noella Schimmel"], ["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", "Jutta Daugherty"], ["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", "Noella Schimmel"], ["name", "Jutta Daugherty"], ["description", "Id autem magnam et nesciunt sed necessitatibus. Tempora voluptas omnis officia velit consequatur. Beatae rem voluptatem et a reiciendis ut eos. Maiores dolor excepturi aliquid autem."], ["created_at", "2018-09-05 19:27:44.896419"], ["updated_at", "2018-09-05 19:27:44.896419"]] +  (0.5ms) 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", "Selma Mann"], ["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", "Elmer Grady"], ["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", "Selma Mann"], ["name", "Elmer Grady"], ["description", "Autem praesentium et aut totam tempore ullam. Mollitia et molestiae fuga esse voluptate aut facilis. Consequatur architecto inventore voluptates est ipsam. Accusamus repellat libero et provident. Officia qui cum est autem et dolor voluptate."], ["equipment_type_id", 18], ["created_at", "2018-09-05 19:27:44.901458"], ["updated_at", "2018-09-05 19:27:44.901458"]] +  (0.4ms) 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", "Mamie Denesik"], ["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", "Mamie Denesik"], ["name", "Neil Blanda"], ["description", "Warner Cartwright"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 18], ["created_at", "2018-09-05 19:27:44.905771"], ["updated_at", "2018-09-05 19:27:44.905771"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Nell Mann"], ["LIMIT", 1]] + Mks::Edm::LocationType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Shizuko Reinger"], ["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", "Nell Mann"], ["name", "Shizuko Reinger"], ["description", "Austin Gutkowski"], ["created_at", "2018-09-05 19:27:44.916604"], ["updated_at", "2018-09-05 19:27:44.916604"]] +  (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", "Elnora Rippin"], ["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", "Elnora Rippin"], ["name", "Shanta Hilll"], ["location_type_id", 18], ["description", "Ping Zboncak"], ["address", "Rema Cummings"], ["created_at", "2018-09-05 19:27:44.921954"], ["updated_at", "2018-09-05 19:27:44.921954"]] +  (0.6ms) 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", "Connie Ritchie"], ["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", "Yaeko Cole"], ["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", "Connie Ritchie"], ["name", "Hunter Simonis"], ["description", "Erin Muller"], ["serial_number", "Yaeko Cole"], ["brand", "Hollis Wintheiser"], ["item_model", "Oliva Wisoky"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 18], ["current_location_id", 18], ["created_at", "2018-09-05 19:27:44.927360"], ["updated_at", "2018-09-05 19:27:44.927360"]] +  (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", "Allen Koss"], ["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", "Lelia Oberbrunner"], ["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", "Allen Koss"], ["name", "Lelia Oberbrunner"], ["created_at", "2018-09-05 19:27:44.933738"], ["updated_at", "2018-09-05 19:27:44.933738"]] +  (0.4ms) 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", "Cedrick Bosco"], ["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", "Cedrick Bosco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.938086"], ["updated_at", "2018-09-05 19:27:44.938086"]] +  (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", "Azalee Zemlak"], ["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", "Azalee Zemlak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.942570"], ["updated_at", "2018-09-05 19:27:44.942570"]] +  (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", "Isela Kuhic"], ["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", "Isela Kuhic"], ["name", "Shanta Cummings"], ["address", "Gabriel Wintheiser"], ["created_at", "2018-09-05 19:27:44.947098"], ["updated_at", "2018-09-05 19:27:44.947098"]] +  (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", "Sam Schneider"], ["service_delivery_unit_id", 70], ["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", "Sam Schneider"], ["name", "Ossie Schamberger"], ["service_type_id", 46], ["base_unit_id", 79], ["utilization_unit_id", 80], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 19:27:44.951653"], ["updated_at", "2018-09-05 19:27:44.951653"]] + 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", 70], ["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", "Sam Schneider"], ["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", "Sam Schneider"], ["name", "Ossie Schamberger"], ["description", "Default bundle for service 'Ossie Schamberger'"], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 19:27:44.957153"], ["updated_at", "2018-09-05 19:27:44.957153"]] + 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.9ms) ROLLBACK +  (0.4ms) BEGIN +  (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", "Deedee Lesch"], ["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", "Maryanna Keeling"], ["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", "Deedee Lesch"], ["name", "Maryanna Keeling"], ["description", "Expedita ut nihil excepturi debitis odit. Optio sed et natus aperiam totam et. Dolores eum modi provident nulla quia consequatur saepe. Voluptatem in quo quis omnis itaque at praesentium."], ["created_at", "2018-09-05 19:27:44.971317"], ["updated_at", "2018-09-05 19:27:44.971317"]] +  (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", "Barton Schowalter"], ["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", "Siu Okuneva"], ["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", "Barton Schowalter"], ["name", "Siu Okuneva"], ["description", "Maiores porro et error dolorum officiis consequatur. Et quas aperiam illo omnis. Delectus ea perferendis labore vero ut laboriosam consequatur alias. Occaecati ut a sed doloribus eveniet ut. Doloremque qui in tempore aut iste aliquid et."], ["equipment_type_id", 19], ["created_at", "2018-09-05 19:27:44.976730"], ["updated_at", "2018-09-05 19:27:44.976730"]] +  (1.2ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Bret Feil"], ["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", "Bret Feil"], ["name", "Tarra Bailey"], ["description", "Bryanna Cartwright"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 19], ["created_at", "2018-09-05 19:27:44.983519"], ["updated_at", "2018-09-05 19:27:44.983519"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Merideth Rogahn"], ["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", "Dana Gislason"], ["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", "Merideth Rogahn"], ["name", "Dana Gislason"], ["description", "Roxanna Rutherford"], ["created_at", "2018-09-05 19:27:44.991711"], ["updated_at", "2018-09-05 19:27:44.991711"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentLocation Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marcos Daugherty"], ["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", "Marcos Daugherty"], ["name", "Izetta Beahan"], ["location_type_id", 19], ["description", "Kori Jewess"], ["address", "Emmanuel Barrows"], ["created_at", "2018-09-05 19:27:44.998078"], ["updated_at", "2018-09-05 19:27:44.998078"]] +  (0.6ms) 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", "Robert O'Keefe"], ["LIMIT", 1]] + Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Frankie Heaney"], ["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", "Robert O'Keefe"], ["name", "Janeth Gleason"], ["description", "Karl Schmitt"], ["serial_number", "Frankie Heaney"], ["brand", "Clemmie Kub"], ["item_model", "Erline Kuphal"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 19], ["current_location_id", 19], ["created_at", "2018-09-05 19:27:45.004932"], ["updated_at", "2018-09-05 19:27:45.004932"]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leatha Homenick"], ["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", "Rene Witting"], ["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", "Leatha Homenick"], ["name", "Rene Witting"], ["created_at", "2018-09-05 19:27:45.016808"], ["updated_at", "2018-09-05 19:27:45.016808"]] +  (1.1ms) 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", "Toshia Goyette"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Toshia Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.025117"], ["updated_at", "2018-09-05 19:27:45.025117"]] +  (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", "Latoyia Blanda"], ["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", "Latoyia Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.030929"], ["updated_at", "2018-09-05 19:27:45.030929"]] +  (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", "Kara McDermott"], ["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", "Kara McDermott"], ["name", "Yoshiko Johns"], ["address", "Luisa Grant"], ["created_at", "2018-09-05 19:27:45.035451"], ["updated_at", "2018-09-05 19:27:45.035451"]] +  (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", "Alta Moore"], ["service_delivery_unit_id", 71], ["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", "Alta Moore"], ["name", "Valarie Abernathy"], ["service_type_id", 47], ["base_unit_id", 81], ["utilization_unit_id", 82], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 19:27:45.039780"], ["updated_at", "2018-09-05 19:27:45.039780"]] + 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", 71], ["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", "Alta Moore"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (13.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", "Alta Moore"], ["name", "Valarie Abernathy"], ["description", "Default bundle for service 'Valarie Abernathy'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 19:27:45.045225"], ["updated_at", "2018-09-05 19:27:45.045225"]] + 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", 57], ["chargeable_service_id", 34]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) ROLLBACK +  (0.6ms) BEGIN +  (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", "Wava Becker"], ["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", "Maren Johns"], ["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", "Wava Becker"], ["name", "Maren Johns"], ["description", "Nesciunt earum aspernatur et at. Eos sed doloremque ea eaque nesciunt. Ratione provident perspiciatis ipsa sed reiciendis dolores vel. Et sit omnis repudiandae nobis officiis quis."], ["created_at", "2018-09-05 19:27:45.074545"], ["updated_at", "2018-09-05 19:27:45.074545"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 + Mks::Edm::EquipmentCategory Exists (2.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Monte Smith"], ["LIMIT", 1]] + Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Almeta Von"], ["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", "Monte Smith"], ["name", "Almeta Von"], ["description", "Et itaque hic et dicta enim est facilis ut. Quibusdam quo eveniet in impedit ratione. Hic dolore rerum earum praesentium. Voluptas omnis officiis placeat aut officia possimus non."], ["equipment_type_id", 20], ["created_at", "2018-09-05 19:27:45.085589"], ["updated_at", "2018-09-05 19:27:45.085589"]] +  (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", "Felton Kreiger"], ["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", "Felton Kreiger"], ["name", "Salvador Hickle"], ["description", "Octavia Blick"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 20], ["created_at", "2018-09-05 19:27:45.090348"], ["updated_at", "2018-09-05 19:27:45.090348"]] +  (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", "Bruno Casper"], ["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", "Rhiannon Lynch"], ["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", "Bruno Casper"], ["name", "Rhiannon Lynch"], ["description", "Genevive Wilderman"], ["created_at", "2018-09-05 19:27:45.096993"], ["updated_at", "2018-09-05 19:27:45.096993"]] +  (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", "Heather Anderson"], ["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", "Heather Anderson"], ["name", "Eunice Lockman"], ["location_type_id", 20], ["description", "Babara Kozey"], ["address", "Josiah Mueller"], ["created_at", "2018-09-05 19:27:45.101411"], ["updated_at", "2018-09-05 19:27:45.101411"]] +  (0.7ms) 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", "Kevin 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", "Charlene Schuppe"], ["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", "Kevin Lebsack"], ["name", "Ying Farrell"], ["description", "Clotilde Yost"], ["serial_number", "Charlene Schuppe"], ["brand", "Manie Schowalter"], ["item_model", "Reinaldo Klein"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 20], ["current_location_id", 20], ["created_at", "2018-09-05 19:27:45.107108"], ["updated_at", "2018-09-05 19:27:45.107108"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) ROLLBACK +  (0.4ms) BEGIN +  (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", "Margo Dickens"], ["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", "Leda Douglas"], ["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", "Margo Dickens"], ["name", "Leda Douglas"], ["created_at", "2018-09-05 19:27:45.117907"], ["updated_at", "2018-09-05 19:27:45.117907"]] +  (0.9ms) 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 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Margo Dickens"], ["id", 48], ["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", "Leda Douglas"], ["id", 48], ["LIMIT", 1]] +  (1.2ms) ROLLBACK +  (1.0ms) BEGIN + Mks::Rate::ServiceType Exists (1.0ms) 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 (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Pamila Connelly"], ["LIMIT", 1]] +  (0.5ms) ROLLBACK +  (0.5ms) BEGIN + 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", "Ha Kemmer"], ["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.6ms) BEGIN +  (0.6ms) 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", "Rhonda Wuckert"], ["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", "Tyesha Goldner"], ["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", "Rhonda Wuckert"], ["name", "Tyesha Goldner"], ["created_at", "2018-09-05 19:27:45.150173"], ["updated_at", "2018-09-05 19:27:45.150173"]] +  (0.6ms) 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 LIMIT $2 [["code", "Rhonda Wuckert"], ["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", "Danny Carter"], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (0.5ms) 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", "Leon Hessel"], ["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", "Todd Halvorson"], ["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", "Leon Hessel"], ["name", "Todd Halvorson"], ["created_at", "2018-09-05 19:27:45.163885"], ["updated_at", "2018-09-05 19:27:45.163885"]] +  (1.5ms) RELEASE 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", "Valda O'Connell"], ["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", "Todd Halvorson"], ["LIMIT", 1]] +  (0.9ms) ROLLBACK +  (0.6ms) BEGIN + 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", "Grant Kuhlman"], ["LIMIT", 1]] +  (0.9ms) ROLLBACK +  (0.5ms) BEGIN + Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.6ms) BEGIN + 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", "Tamekia Keebler"], ["LIMIT", 1]] +  (0.6ms) ROLLBACK +  (1.0ms) BEGIN +  (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", "Anh Shanahan"], ["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", "Anh Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.200015"], ["updated_at", "2018-09-05 19:27:45.200015"]] +  (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", "Anh Shanahan"], ["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.5ms) BEGIN +  (1.6ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Abdul Muller"], ["LIMIT", 1]] + Mks::Rate::ServiceType Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nola Carter"], ["LIMIT", 1]] + Mks::Rate::ServiceType Create (2.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Abdul Muller"], ["name", "Nola Carter"], ["created_at", "2018-09-05 19:27:45.219270"], ["updated_at", "2018-09-05 19:27:45.219270"]] +  (4.0ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) 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", "Erwin Bartoletti"], ["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", "Erwin Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.231142"], ["updated_at", "2018-09-05 19:27:45.231142"]] +  (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", "Hildred Kshlerin"], ["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", "Hildred Kshlerin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.236009"], ["updated_at", "2018-09-05 19:27:45.236009"]] +  (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", "Vilma 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", "Vilma Paucek"], ["name", "Herb Doyle"], ["address", "Cristie Goyette"], ["created_at", "2018-09-05 19:27:45.240581"], ["updated_at", "2018-09-05 19:27:45.240581"]] +  (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", "Gail Kautzer"], ["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", "Gail Kautzer"], ["name", "America Grimes"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 19:27:45.245474"], ["updated_at", "2018-09-05 19:27:45.245474"]] + Mks::Rate::ServiceDeliveryUnit Load (2.2ms) 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.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gail Kautzer"], ["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", "Gail Kautzer"], ["name", "America Grimes"], ["description", "Default bundle for service 'America Grimes'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 19:27:45.252168"], ["updated_at", "2018-09-05 19:27:45.252168"]] + 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", 58], ["chargeable_service_id", 35]] +  (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", "Irvin Denesik"], ["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", "Margo Hirthe"], ["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", "Irvin Denesik"], ["name", "Margo Hirthe"], ["created_at", "2018-09-05 19:27:45.261573"], ["updated_at", "2018-09-05 19:27:45.261573"]] +  (0.7ms) 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", "Cristina Ratke"], ["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", "Cristina Ratke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.268751"], ["updated_at", "2018-09-05 19:27:45.268751"]] +  (0.8ms) 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", "Marian Armstrong"], ["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", "Marian Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.275064"], ["updated_at", "2018-09-05 19:27:45.275064"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (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", "Therese Lang"], ["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", "Therese Lang"], ["name", "Talitha Luettgen"], ["address", "Vern Okuneva"], ["created_at", "2018-09-05 19:27:45.281050"], ["updated_at", "2018-09-05 19:27:45.281050"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Marion Ledner"], ["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", "Marion Ledner"], ["name", "Golda McDermott"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 19:27:45.286434"], ["updated_at", "2018-09-05 19:27:45.286434"]] + 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", 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", "Marion Ledner"], ["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", "Marion Ledner"], ["name", "Golda McDermott"], ["description", "Default bundle for service 'Golda McDermott'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 19:27:45.291584"], ["updated_at", "2018-09-05 19:27:45.291584"]] + 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", 59], ["chargeable_service_id", 36]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Melisa Kunde"], ["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", "Kimberli Buckridge"], ["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", "Melisa Kunde"], ["name", "Kimberli Buckridge"], ["created_at", "2018-09-05 19:27:45.301458"], ["updated_at", "2018-09-05 19:27:45.301458"]] +  (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", "Mikaela Homenick"], ["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 Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.306792"], ["updated_at", "2018-09-05 19:27:45.306792"]] +  (0.6ms) 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", "Jimmy Tromp"], ["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", "Jimmy Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.312103"], ["updated_at", "2018-09-05 19:27:45.312103"]] +  (0.7ms) 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", "Amelia Greenholt"], ["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", "Amelia Greenholt"], ["name", "Louis Feeney"], ["address", "Macy Daniel"], ["created_at", "2018-09-05 19:27:45.317956"], ["updated_at", "2018-09-05 19:27:45.317956"]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.1ms) 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", "Londa Herman"], ["service_delivery_unit_id", 74], ["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", "Londa Herman"], ["name", "Clarice Gaylord"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 19:27:45.323947"], ["updated_at", "2018-09-05 19:27:45.323947"]] + 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 (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Londa Herman"], ["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", "Londa Herman"], ["name", "Clarice Gaylord"], ["description", "Default bundle for service 'Clarice Gaylord'"], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 19:27:45.330761"], ["updated_at", "2018-09-05 19:27:45.330761"]] + 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", 60], ["chargeable_service_id", 37]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceRate Load (1.1ms) 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 (0.9ms) 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.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 LIMIT $2 [["id", 35], ["LIMIT", 1]] + Mks::Rate::ServiceRate Create (1.1ms) 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 19:27:45.344449"], ["updated_at", "2018-09-05 19:27:45.344449"]] + 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", 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 19:27:45.348064"], ["updated_at", "2018-09-05 19:27:45.348064"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates" +  (0.7ms) 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", "Isidra Abbott"], ["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", "Isela Kuphal"], ["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", "Isidra Abbott"], ["name", "Isela Kuphal"], ["created_at", "2018-09-05 19:27:45.359204"], ["updated_at", "2018-09-05 19:27:45.359204"]] +  (0.5ms) 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", "Tosha Bartoletti"], ["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", "Tosha Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.364962"], ["updated_at", "2018-09-05 19:27:45.364962"]] +  (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", "Dollie Barrows"], ["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", "Dollie Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.370338"], ["updated_at", "2018-09-05 19:27:45.370338"]] +  (0.9ms) 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", "Kathi Davis"], ["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", "Kathi Davis"], ["name", "Hildegard Keeling"], ["address", "Valerie Abernathy"], ["created_at", "2018-09-05 19:27:45.376368"], ["updated_at", "2018-09-05 19:27:45.376368"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (2.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", "Rossana Schultz"], ["service_delivery_unit_id", 75], ["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", "Rossana Schultz"], ["name", "Rick Conn"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 19:27:45.385640"], ["updated_at", "2018-09-05 19:27:45.385640"]] + 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", 75], ["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", "Rossana Schultz"], ["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", "Rossana Schultz"], ["name", "Rick Conn"], ["description", "Default bundle for service 'Rick Conn'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 19:27:45.391393"], ["updated_at", "2018-09-05 19:27:45.391393"]] + 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", 61], ["chargeable_service_id", 38]] +  (0.6ms) 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", "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 19:27:45.398119"], ["updated_at", "2018-09-05 19:27:45.398119"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceRate Load (0.8ms) 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.6ms) 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 (0.9ms) 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 19:27:45.404301"], ["id", 10]] +  (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"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] +  (0.7ms) ROLLBACK +  (0.5ms) 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", "jacqui@west.us"], ["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", "Shakira Raynor"], ["last_name", "Ricky Jacobs"], ["email", "jacqui@west.us"], ["password_digest", "$2a$04$H.Pq.DD3S6Lo654FlotjiOuJsqfA1uppgmW2kq5mfJz8LGjp1Om.q"], ["created_at", "2018-09-05 19:27:45.416616"], ["updated_at", "2018-09-05 19:27:45.416616"]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "dick@johnson.com"], ["LIMIT", 1]] + Mks::Auth::User Create (1.5ms) 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", "Lucrecia Altenwerth"], ["last_name", "Jamila Schaden"], ["email", "dick@johnson.com"], ["password_digest", "$2a$04$slX3KbVXG/qE0G1.IGTcGe4mRuwRgMrLglFbbklvMPTlLzqFl5Jqy"], ["created_at", "2018-09-05 19:27:45.426975"], ["updated_at", "2018-09-05 19:27:45.426975"]] +  (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", "dorotha_frami@huelflatley.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", "Lorena Nolan"], ["last_name", "Felipe O'Conner"], ["email", "dorotha_frami@huelflatley.name"], ["password_digest", "$2a$04$t2oEOZ7tU2w0WJhaxOJyAuB.hQ.BBa6UuWYAaIzBoemQjaTpSx0CC"], ["created_at", "2018-09-05 19:27:45.435350"], ["updated_at", "2018-09-05 19:27:45.435350"]] +  (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", "Christia Glover"], ["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", "Christia Glover"], ["authorized_by", "Jerrod Brakus"], ["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 19:27:45.440498"], ["updated_at", "2018-09-05 19:27:45.440498"]] +  (0.6ms) 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", "Christia Glover"], ["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 19:27:45.446522"], ["id", 11]] +  (0.5ms) RELEASE SAVEPOINT active_record_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", 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.8ms) ROLLBACK +  (0.5ms) BEGIN +  (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", "Meta Toy"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Meta Toy"], ["name", "Epifania Jenkins"], ["address", "Latesha Wilkinson"], ["created_at", "2018-09-05 19:27:45.459988"], ["updated_at", "2018-09-05 19:27:45.459988"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Eugene Parker"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.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", "Eugene Parker"], ["name", "Betty Jacobi"], ["description", "Petrina Kuhic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 19:27:45.466594"], ["updated_at", "2018-09-05 19:27:45.466594"]] +  (0.6ms) 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", "Brian Goldner"], ["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", "Tressie Runolfsson"], ["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", "Brian Goldner"], ["name", "Tressie Runolfsson"], ["created_at", "2018-09-05 19:27:45.474895"], ["updated_at", "2018-09-05 19:27:45.474895"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) 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", "Hoa Altenwerth"], ["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", "Hoa Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.481072"], ["updated_at", "2018-09-05 19:27:45.481072"]] +  (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", "Vina Kub"], ["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", "Vina Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.486207"], ["updated_at", "2018-09-05 19:27:45.486207"]] +  (0.6ms) 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", "Marybeth Parisian"], ["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", "Marybeth Parisian"], ["name", "Saturnina Rohan"], ["address", "Lauryn Herzog"], ["created_at", "2018-09-05 19:27:45.491280"], ["updated_at", "2018-09-05 19:27:45.491280"]] +  (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", "Jenni Bergstrom"], ["service_delivery_unit_id", 77], ["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", "Jenni Bergstrom"], ["name", "Hilma Lueilwitz"], ["service_type_id", 55], ["base_unit_id", 92], ["utilization_unit_id", 93], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 19:27:45.496241"], ["updated_at", "2018-09-05 19:27:45.496241"]] + 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", "Jenni Bergstrom"], ["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", "Jenni Bergstrom"], ["name", "Hilma Lueilwitz"], ["description", "Default bundle for service 'Hilma Lueilwitz'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 19:27:45.501264"], ["updated_at", "2018-09-05 19:27:45.501264"]] + 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", 63], ["chargeable_service_id", 39]] +  (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", "Krystin Fay"], ["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", "Enoch Fritsch"], ["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", "Krystin Fay"], ["name", "Enoch Fritsch"], ["created_at", "2018-09-05 19:27:45.510474"], ["updated_at", "2018-09-05 19:27:45.510474"]] +  (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", "Melinda Zboncak"], ["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", "Melinda Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.515427"], ["updated_at", "2018-09-05 19:27:45.515427"]] +  (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", "Yasuko Fay"], ["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", "Yasuko Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.519935"], ["updated_at", "2018-09-05 19:27:45.519935"]] +  (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", "Marcelo Harris"], ["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", "Marcelo Harris"], ["name", "Rosetta Goyette"], ["address", "Cassi Crona"], ["created_at", "2018-09-05 19:27:45.524675"], ["updated_at", "2018-09-05 19:27:45.524675"]] +  (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", "Lemuel Ondricka"], ["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", "Lemuel Ondricka"], ["name", "Keren Abbott"], ["service_type_id", 56], ["base_unit_id", 94], ["utilization_unit_id", 95], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 19:27:45.529203"], ["updated_at", "2018-09-05 19:27:45.529203"]] + Mks::Rate::ServiceDeliveryUnit Load (1.1ms) 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 (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lemuel Ondricka"], ["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", "Lemuel Ondricka"], ["name", "Keren Abbott"], ["description", "Default bundle for service 'Keren Abbott'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 19:27:45.535358"], ["updated_at", "2018-09-05 19:27:45.535358"]] + 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", 64], ["chargeable_service_id", 40]] +  (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", "Leslee Feeney"], ["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", "Marvin Thompson"], ["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", "Leslee Feeney"], ["name", "Marvin Thompson"], ["created_at", "2018-09-05 19:27:45.544434"], ["updated_at", "2018-09-05 19:27:45.544434"]] +  (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", "Dakota Harvey"], ["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", "Dakota Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.549051"], ["updated_at", "2018-09-05 19:27:45.549051"]] +  (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", "Bobbie Skiles"], ["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", "Bobbie Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.553741"], ["updated_at", "2018-09-05 19:27:45.553741"]] +  (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", "Lai Ritchie"], ["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", "Lai Ritchie"], ["name", "Lloyd Glover"], ["address", "Carl Baumbach"], ["created_at", "2018-09-05 19:27:45.558291"], ["updated_at", "2018-09-05 19:27:45.558291"]] +  (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", "Paula Mosciski"], ["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", "Paula Mosciski"], ["name", "Issac Sporer"], ["service_type_id", 57], ["base_unit_id", 96], ["utilization_unit_id", 97], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 19:27:45.562763"], ["updated_at", "2018-09-05 19:27:45.562763"]] + 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", 79], ["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", "Paula Mosciski"], ["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", "Paula Mosciski"], ["name", "Issac Sporer"], ["description", "Default bundle for service 'Issac Sporer'"], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 19:27:45.568522"], ["updated_at", "2018-09-05 19:27:45.568522"]] + 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", 65], ["chargeable_service_id", 41]] +  (0.5ms) 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", 62]] +  (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" 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.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", 41]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] +  (1.3ms) 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]] +  (1.1ms) 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", "Isaiah Williamson"], ["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", "Isaiah Williamson"], ["name", "Jefferson Waters"], ["address", "Catina Spencer"], ["created_at", "2018-09-05 19:27:45.598866"], ["updated_at", "2018-09-05 19:27:45.598866"]] +  (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", "Britney Morar"], ["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", "Britney Morar"], ["name", "Selma Kunze"], ["description", "Margene Ritchie"], ["percent_discount", 100.0], ["service_delivery_unit_id", 80], ["created_at", "2018-09-05 19:27:45.603384"], ["updated_at", "2018-09-05 19:27:45.603384"]] +  (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", "Selena Bosco"], ["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", "Arica Abshire"], ["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", "Selena Bosco"], ["name", "Arica Abshire"], ["created_at", "2018-09-05 19:27:45.609185"], ["updated_at", "2018-09-05 19:27:45.609185"]] +  (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", "Kiersten Will"], ["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", "Kiersten Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.613707"], ["updated_at", "2018-09-05 19:27:45.613707"]] +  (1.4ms) 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", "Paige Gaylord"], ["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", "Paige Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.620569"], ["updated_at", "2018-09-05 19:27:45.620569"]] +  (0.9ms) 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", "Lizeth Volkman"], ["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", "Lizeth Volkman"], ["name", "Nigel Welch"], ["address", "Kala Gleichner"], ["created_at", "2018-09-05 19:27:45.626941"], ["updated_at", "2018-09-05 19:27:45.626941"]] +  (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", "Cristin Koelpin"], ["service_delivery_unit_id", 81], ["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", "Cristin Koelpin"], ["name", "Dierdre Oga"], ["service_type_id", 58], ["base_unit_id", 98], ["utilization_unit_id", 99], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 19:27:45.633082"], ["updated_at", "2018-09-05 19:27:45.633082"]] + 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 (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cristin Koelpin"], ["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", "Cristin Koelpin"], ["name", "Dierdre Oga"], ["description", "Default bundle for service 'Dierdre Oga'"], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 19:27:45.639147"], ["updated_at", "2018-09-05 19:27:45.639147"]] + 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", 67], ["chargeable_service_id", 42]] +  (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", "Angelia Hilpert"], ["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", "Leota Fritsch"], ["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", "Angelia Hilpert"], ["name", "Leota Fritsch"], ["created_at", "2018-09-05 19:27:45.649177"], ["updated_at", "2018-09-05 19:27:45.649177"]] +  (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", "Paola 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", "Paola Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.654120"], ["updated_at", "2018-09-05 19:27:45.654120"]] +  (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", "Maryann Senger"], ["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", "Maryann Senger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.659094"], ["updated_at", "2018-09-05 19:27:45.659094"]] +  (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", "Vannesa Morissette"], ["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", "Vannesa Morissette"], ["name", "Cyrus Halvorson"], ["address", "Earnestine Nienow"], ["created_at", "2018-09-05 19:27:45.663912"], ["updated_at", "2018-09-05 19:27:45.663912"]] +  (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", "Ling Lesch"], ["service_delivery_unit_id", 82], ["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", "Ling Lesch"], ["name", "Nita Armstrong"], ["service_type_id", 59], ["base_unit_id", 100], ["utilization_unit_id", 101], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 19:27:45.668841"], ["updated_at", "2018-09-05 19:27:45.668841"]] + 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", 82], ["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", "Ling Lesch"], ["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", "Ling Lesch"], ["name", "Nita Armstrong"], ["description", "Default bundle for service 'Nita Armstrong'"], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 19:27:45.674774"], ["updated_at", "2018-09-05 19:27:45.674774"]] + 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", 68], ["chargeable_service_id", 43]] +  (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", "Kira 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", "Mel O'Hara"], ["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", "Kira Leannon"], ["name", "Mel O'Hara"], ["created_at", "2018-09-05 19:27:45.684513"], ["updated_at", "2018-09-05 19:27:45.684513"]] +  (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", "Rebecca Abernathy"], ["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", "Rebecca Abernathy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.689158"], ["updated_at", "2018-09-05 19:27:45.689158"]] +  (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", "Leola Lynch"], ["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", "Leola Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.693652"], ["updated_at", "2018-09-05 19:27:45.693652"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceDeliveryUnit Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Yael Wintheiser"], ["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", "Yael Wintheiser"], ["name", "Jasper Wolf"], ["address", "Kanisha Sipes"], ["created_at", "2018-09-05 19:27:45.697950"], ["updated_at", "2018-09-05 19:27:45.697950"]] +  (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", "Aracelis Parisian"], ["service_delivery_unit_id", 83], ["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", "Aracelis Parisian"], ["name", "Angel Wilkinson"], ["service_type_id", 60], ["base_unit_id", 102], ["utilization_unit_id", 103], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 19:27:45.702486"], ["updated_at", "2018-09-05 19:27:45.702486"]] + 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.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Aracelis Parisian"], ["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", "Aracelis Parisian"], ["name", "Angel Wilkinson"], ["description", "Default bundle for service 'Angel Wilkinson'"], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 19:27:45.707170"], ["updated_at", "2018-09-05 19:27:45.707170"]] + 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", 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.7ms) 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.7ms) 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.5ms) 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.5ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 44]] + Mks::Rate::ChargeableService Load (0.7ms) 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.8ms) 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.5ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Load (0.5ms) 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.4ms) 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", "Rickey Kertzmann"], ["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", "Rickey Kertzmann"], ["name", "Allen Gulgowski"], ["address", "Valentine Stamm"], ["created_at", "2018-09-05 19:27:45.738448"], ["updated_at", "2018-09-05 19:27:45.738448"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) 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", "Nohemi Bernier"], ["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", "Nohemi Bernier"], ["name", "Sharlene Okuneva"], ["description", "Kelley Blick"], ["percent_discount", 100.0], ["service_delivery_unit_id", 84], ["created_at", "2018-09-05 19:27:45.744492"], ["updated_at", "2018-09-05 19:27:45.744492"]] +  (4.3ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Danae Shields"], ["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", "Jessenia Heller"], ["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", "Danae Shields"], ["name", "Jessenia Heller"], ["created_at", "2018-09-05 19:27:45.766789"], ["updated_at", "2018-09-05 19:27:45.766789"]] +  (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", "Mui Yundt"], ["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", "Mui Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.773070"], ["updated_at", "2018-09-05 19:27:45.773070"]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) 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", "Oren Mills"], ["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", "Oren Mills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.780324"], ["updated_at", "2018-09-05 19:27:45.780324"]] +  (0.7ms) 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", "Norene Hessel"], ["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", "Norene Hessel"], ["name", "Alesia Gislason"], ["address", "Reanna Kuvalis"], ["created_at", "2018-09-05 19:27:45.786029"], ["updated_at", "2018-09-05 19:27:45.786029"]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.1ms) 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", "Suzanne Weber"], ["service_delivery_unit_id", 85], ["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", "Suzanne Weber"], ["name", "Brandon Heaney"], ["service_type_id", 61], ["base_unit_id", 104], ["utilization_unit_id", 105], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 19:27:45.793368"], ["updated_at", "2018-09-05 19:27:45.793368"]] + 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", 85], ["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", "Suzanne Weber"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.5ms) 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", "Suzanne Weber"], ["name", "Brandon Heaney"], ["description", "Default bundle for service 'Brandon Heaney'"], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 19:27:45.801268"], ["updated_at", "2018-09-05 19:27:45.801268"]] + Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (8.7ms) 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]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) 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", "Aline Kulas"], ["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", "Lavette Frami"], ["LIMIT", 1]] + Mks::Rate::ServiceType Create (3.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Aline Kulas"], ["name", "Lavette Frami"], ["created_at", "2018-09-05 19:27:45.821118"], ["updated_at", "2018-09-05 19:27:45.821118"]] +  (0.8ms) 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", "Luigi Hand"], ["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", "Luigi Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.830108"], ["updated_at", "2018-09-05 19:27:45.830108"]] +  (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", "Ramona Kozey"], ["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", "Ramona Kozey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.836274"], ["updated_at", "2018-09-05 19:27:45.836274"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) 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", "Tereasa Collins"], ["LIMIT", 1]] + Mks::Rate::ServiceDeliveryUnit Create (3.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tereasa Collins"], ["name", "Kendal Braun"], ["address", "Nick Ebert"], ["created_at", "2018-09-05 19:27:45.845043"], ["updated_at", "2018-09-05 19:27:45.845043"]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Mks::Rate::ChargeableService Exists (1.1ms) 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", "Kasandra Bins"], ["service_delivery_unit_id", 86], ["LIMIT", 1]] + Mks::Rate::ChargeableService Create (1.4ms) 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", "Kasandra Bins"], ["name", "Felice Heathcote"], ["service_type_id", 62], ["base_unit_id", 106], ["utilization_unit_id", 107], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 19:27:45.854754"], ["updated_at", "2018-09-05 19:27:45.854754"]] + 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", 86], ["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", "Kasandra Bins"], ["LIMIT", 1]] + Mks::Rate::ServiceBundle Create (1.5ms) 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", "Kasandra Bins"], ["name", "Felice Heathcote"], ["description", "Default bundle for service 'Felice Heathcote'"], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 19:27:45.861567"], ["updated_at", "2018-09-05 19:27:45.861567"]] + Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.6ms) 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.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "My Mitchell"], ["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", "Vannessa Swift"], ["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", "My Mitchell"], ["name", "Vannessa Swift"], ["created_at", "2018-09-05 19:27:45.875005"], ["updated_at", "2018-09-05 19:27:45.875005"]] +  (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", "Natisha McClure"], ["LIMIT", 1]] + Mks::Rate::UnitOfCharge Create (2.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Natisha McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.880030"], ["updated_at", "2018-09-05 19:27:45.880030"]] +  (0.9ms) 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", "Twana Volkman"], ["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", "Twana Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.887542"], ["updated_at", "2018-09-05 19:27:45.887542"]] +  (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", "Alison Schamberger"], ["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", "Alison Schamberger"], ["name", "Grisel Boyer"], ["address", "Dwayne Hilpert"], ["created_at", "2018-09-05 19:27:45.893658"], ["updated_at", "2018-09-05 19:27:45.893658"]] +  (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", "Johnny Nikolaus"], ["service_delivery_unit_id", 87], ["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", "Johnny Nikolaus"], ["name", "Fabian Mitchell"], ["service_type_id", 63], ["base_unit_id", 108], ["utilization_unit_id", 109], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 19:27:45.900393"], ["updated_at", "2018-09-05 19:27:45.900393"]] + 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", 87], ["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", "Johnny Nikolaus"], ["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", "Johnny Nikolaus"], ["name", "Fabian Mitchell"], ["description", "Default bundle for service 'Fabian Mitchell'"], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 19:27:45.905285"], ["updated_at", "2018-09-05 19:27:45.905285"]] + 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", 73], ["chargeable_service_id", 47]] +  (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", "Lashawna Tillman"], ["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", "Arlinda Hoeger"], ["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", "Lashawna Tillman"], ["name", "Arlinda Hoeger"], ["created_at", "2018-09-05 19:27:45.913758"], ["updated_at", "2018-09-05 19:27:45.913758"]] +  (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", "Cyndi Davis"], ["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", "Cyndi Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.918699"], ["updated_at", "2018-09-05 19:27:45.918699"]] +  (0.5ms) 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", "Goldie Gutmann"], ["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", "Goldie Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.924100"], ["updated_at", "2018-09-05 19:27:45.924100"]] +  (0.7ms) 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", "Lashawn Roob"], ["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", "Lashawn Roob"], ["name", "Shanna White"], ["address", "Keesha Bosco"], ["created_at", "2018-09-05 19:27:45.929509"], ["updated_at", "2018-09-05 19:27:45.929509"]] +  (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", "Jerrie Bartell"], ["service_delivery_unit_id", 88], ["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", "Jerrie Bartell"], ["name", "Don Kshlerin"], ["service_type_id", 64], ["base_unit_id", 110], ["utilization_unit_id", 111], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 19:27:45.934183"], ["updated_at", "2018-09-05 19:27:45.934183"]] + 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 (2.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jerrie Bartell"], ["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", "Jerrie Bartell"], ["name", "Don Kshlerin"], ["description", "Default bundle for service 'Don Kshlerin'"], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 19:27:45.941147"], ["updated_at", "2018-09-05 19:27:45.941147"]] + 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 (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", 45]] + 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", 70], ["chargeable_service_id", 46]] +  (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", 70]] +  (0.6ms) 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" 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.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", 48]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 + Mks::Rate::ServiceBundle Load (0.7ms) 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.2ms) 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.2ms) 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