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 @@
[1m[36mMks::Rate::ServiceBundle Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 70], ["LIMIT", 1]]
[1m[35m (1.0ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 70]]
[1m[36mMks::Rate::ChargeableService Exists (1.6ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 70], ["id", 45], ["LIMIT", 1]]
[1m[36mMks::Rate::ChargeableService Load (1.0ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 70]]
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "farah.pacocha@brakus.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.2ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Ross Mraz"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Kam Zemlak"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Ross Mraz"], ["name", "Kam Zemlak"], ["created_at", "2018-09-05 19:27:40.172330"], ["updated_at", "2018-09-05 19:27:40.172330"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Hazel Leffler"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Andre Luettgen"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Dania Stokes"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.2ms)[0m [1m[34mSELECT 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[0m [["code", "Tonja Kub"], ["service_delivery_unit_id", 1], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.0ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Tonja Kub"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 1], ["chargeable_service_id", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Kirk Kemmer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Tammie Swift"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Kirk Kemmer"], ["name", "Tammie Swift"], ["created_at", "2018-09-05 19:27:40.287368"], ["updated_at", "2018-09-05 19:27:40.287368"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Daina Kutch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Blake Heathcote"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Rolf Tromp"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.7ms)[0m [1m[34mSELECT 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[0m [["code", "Herminia Jacobson"], ["service_delivery_unit_id", 2], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Herminia Jacobson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 2], ["chargeable_service_id", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Soila Blanda"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Garrett Hills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Soila Blanda"], ["name", "Garrett Hills"], ["created_at", "2018-09-05 19:27:40.318103"], ["updated_at", "2018-09-05 19:27:40.318103"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Trina Hand"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Vicki Heller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Shanell Barton"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Luanne Grady"], ["service_delivery_unit_id", 3], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Luanne Grady"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 3], ["chargeable_service_id", 3]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ChargeableServicesController#index as HTML
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Load (1.2ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3)[0m [["id", 2], ["id", 1], ["id", 3]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.8ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.7ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceType Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.5ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "annelle@ratke.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_chargeable_services"[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Luanne Conroy"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Kati Hudson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Love Sawayn"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Sammie Graham"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Brain Zulauf"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Sammie Graham"], ["name", "Brain Zulauf"], ["created_at", "2018-09-05 19:27:40.447765"], ["updated_at", "2018-09-05 19:27:40.447765"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Nicolle Grady"], ["service_delivery_unit_id", 4], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Load (0.7ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Nicolle Grady"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 4], ["chargeable_service_id", 4]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.8ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+[active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.76ms)
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_chargeable_services"[0m
+ [1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "celine@oga.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Marleen Cremin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Margareta Osinski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Mario Luettgen"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Henrietta Howe"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (2.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Caryl Kirlin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Henrietta Howe"], ["name", "Caryl Kirlin"], ["created_at", "2018-09-05 19:27:40.530125"], ["updated_at", "2018-09-05 19:27:40.530125"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.6ms)[0m [1m[34mSELECT 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[0m [["code", "Raven Raynor"], ["service_delivery_unit_id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (1.5ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Load (0.9ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Raven Raynor"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 5], ["chargeable_service_id", 5]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.7ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+[active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.55ms)
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (2.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "arden_smitham@gleichner.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Julieta Bednar"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Vernell Von"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Daniel Gulgowski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Fanny Okuneva"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lorna Schuster"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Fanny Okuneva"], ["name", "Lorna Schuster"], ["created_at", "2018-09-05 19:27:40.600744"], ["updated_at", "2018-09-05 19:27:40.600744"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.2ms)[0m [1m[34mSELECT 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[0m [["code", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Load (0.9ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "oliver@bechtelar.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Enoch Moore"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Danuta Davis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Enoch Moore"], ["name", "Danuta Davis"], ["created_at", "2018-09-05 19:27:40.653285"], ["updated_at", "2018-09-05 19:27:40.653285"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Isaac Grant"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Heath Toy"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Chiquita Murray"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Luvenia Powlowski"], ["service_delivery_unit_id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Luvenia Powlowski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 6], ["chargeable_service_id", 6]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ChargeableServicesController#update as JSON
+ Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"6"}
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Luvenia Powlowski"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Load (0.8ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Update (1.1ms)[0m [1m[33mUPDATE "mks_rate_chargeable_services" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_chargeable_services"."id" = $3[0m [["name", "Chargeable service 1"], ["updated_at", "2018-09-05 19:27:40.711109"], ["id", 6]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Luvenia Powlowski"], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (1.3ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+[active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.68ms)
+ [1m[36mMks::Auth::User Load (1.3ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ChargeableService Load (1.8ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "voncile.kohler@jasttrantow.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Fidela Crona"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Rickie Lowe"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Fidela Crona"], ["name", "Rickie Lowe"], ["created_at", "2018-09-05 19:27:40.766822"], ["updated_at", "2018-09-05 19:27:40.766822"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Carli Waters"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Zetta Ferry"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Charisse Homenick"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Terrence Langworth"], ["service_delivery_unit_id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Terrence Langworth"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 7], ["chargeable_service_id", 7]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ChargeableServicesController#update as JSON
+ Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Terrence Langworth"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Load (0.8ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "shelley@mertz.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Junko Brakus"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Verna Schmidt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Milan Tillman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Cayla Mills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Milan Tillman"], ["name", "Cayla Mills"], ["created_at", "2018-09-05 19:27:40.843562"], ["updated_at", "2018-09-05 19:27:40.843562"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Dorthea D'Amore"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Giovanni Koch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Janene Donnelly"], ["service_delivery_unit_id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Janene Donnelly"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 8], ["chargeable_service_id", 8]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Brooks Medhurst"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Shin Jacobi"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Brooks Medhurst"], ["name", "Shin Jacobi"], ["created_at", "2018-09-05 19:27:40.872853"], ["updated_at", "2018-09-05 19:27:40.872853"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Spring Gleichner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Drusilla Trantow"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Elayne Bogisich"], ["service_delivery_unit_id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Elayne Bogisich"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 9], ["chargeable_service_id", 9]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Junior Jacobi"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Hubert Zemlak"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Junior Jacobi"], ["name", "Hubert Zemlak"], ["created_at", "2018-09-05 19:27:40.902863"], ["updated_at", "2018-09-05 19:27:40.902863"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Katharina Kerluke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Suzy Brekke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Takako Yundt"], ["service_delivery_unit_id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Takako Yundt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 10], ["chargeable_service_id", 10]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Mittie Grant"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Shanice Predovic"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Mittie Grant"], ["name", "Shanice Predovic"], ["created_at", "2018-09-05 19:27:40.933024"], ["updated_at", "2018-09-05 19:27:40.933024"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Grady Stark"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Kaleigh Goodwin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.6ms)[0m [1m[34mSELECT 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[0m [["code", "Carroll Ruecker"], ["service_delivery_unit_id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.0ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Carroll Ruecker"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 11], ["chargeable_service_id", 11]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON
+ Parameters: {"id"=>"9"}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."service_delivery_unit_id" = $1[0m [["service_delivery_unit_id", 9]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.7ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::UnitOfCharge Load (0.6ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "rosenda.farrell@buckridge.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "sharonda_kohler@muller.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "lacy.hoppe@pfeffer.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Pamala Wolf"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (2.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::RateChangeRequestsController#index as HTML
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Load (0.7ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests"[0m
+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)
+ [1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "elisa_williamson@runolfsdottirjohnson.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "jaquelyn.jacobson@steuber.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "breann.botsford@dickiwolf.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Celine Rice"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::RateChangeRequestsController#show as HTML
+ Parameters: {"id"=>"2"}
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Load (0.7ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "janay@deckow.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_rate_change_requests"[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Bennie Kessler"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Polly Kohler"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Bennie Kessler"], ["name", "Polly Kohler"], ["created_at", "2018-09-05 19:27:41.111595"], ["updated_at", "2018-09-05 19:27:41.111595"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Carolyne Mante"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Song Smith"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Charlene Miller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.0ms)[0m [1m[34mSELECT 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[0m [["code", "Noe Klocko"], ["service_delivery_unit_id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Noe Klocko"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 12], ["chargeable_service_id", 12]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Joslyn Gerhold"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Marti Johnston"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Joslyn Gerhold"], ["name", "Marti Johnston"], ["created_at", "2018-09-05 19:27:41.151874"], ["updated_at", "2018-09-05 19:27:41.151874"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Camelia Wehner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Karin Huels"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Theola Hagenes"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Deetta Nicolas"], ["service_delivery_unit_id", 12], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Deetta Nicolas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 13], ["chargeable_service_id", 13]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Minta Schultz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Elton Gulgowski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Kimberly Frami"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Louetta Pagac"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.2ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Sang Ondricka"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.4ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Angel Cormier"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Clarence Roberts"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Valarie Beatty"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Romeo Cole"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Brittany Labadie"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.7ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Toshia Kunde"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Cristen Koch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Kasie Schiller"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Rachell Hartmann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Jermaine Cartwright"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Geraldo Robel"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Phylis Lakin"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Tamera Yost"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Delois Monahan"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Merri Fritsch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "corey@frami.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "asuncion@schroeder.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Alysa Dibbert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.17ms)
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_rate_change_requests"[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "vanda.kiehn@berge.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Gretta Mayer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Shona Tromp"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Gretta Mayer"], ["name", "Shona Tromp"], ["created_at", "2018-09-05 19:27:41.397424"], ["updated_at", "2018-09-05 19:27:41.397424"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Charline Fadel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Sherrell Jenkins"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Marian McDermott"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Alphonse Bergnaum"], ["service_delivery_unit_id", 13], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Alphonse Bergnaum"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 14], ["chargeable_service_id", 14]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Nakesha Grady"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Adelina Fahey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Nakesha Grady"], ["name", "Adelina Fahey"], ["created_at", "2018-09-05 19:27:41.437863"], ["updated_at", "2018-09-05 19:27:41.437863"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Darryl Hansen"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Myles Lakin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Nicol Abernathy"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.0ms)[0m [1m[34mSELECT 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[0m [["code", "Dorothy Mills"], ["service_delivery_unit_id", 14], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Dorothy Mills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 15], ["chargeable_service_id", 15]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Asha Wunsch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Latrina Monahan"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Salena Jaskolski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Jerrod Howe"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.3ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Joette Johns"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Laureen Rogahn"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Modesto Shanahan"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Katherine Reilly"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Mira Ward"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Tressie Kunde"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Emery Goyette"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Cher Lesch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Yetta Goodwin"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Josie Boyer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Denver Fritsch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Tawny Hintz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Sally Hane"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Willy Braun"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Daryl Simonis"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Elly McDermott"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "tessie@schultz.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ebony.powlowski@daniel.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Cecil Denesik"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.16ms)
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "nilda_jacobi@hand.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Huey Kunze"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Melodie Trantow"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Huey Kunze"], ["name", "Melodie Trantow"], ["created_at", "2018-09-05 19:27:41.590700"], ["updated_at", "2018-09-05 19:27:41.590700"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Madeline Rolfson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Julianna Waters"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Melynda Ratke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Alesia Buckridge"], ["service_delivery_unit_id", 15], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Alesia Buckridge"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 16], ["chargeable_service_id", 16]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Myrtice Simonis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Rutha Herman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Myrtice Simonis"], ["name", "Rutha Herman"], ["created_at", "2018-09-05 19:27:41.628177"], ["updated_at", "2018-09-05 19:27:41.628177"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Jung Kling"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Caleb Runolfsdottir"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Emerald Hermann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Sha Beahan"], ["service_delivery_unit_id", 16], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Sha Beahan"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 17], ["chargeable_service_id", 17]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Alethea Stracke"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Corene Cartwright"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Lucila Hane"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Elaine Hoppe"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Chas Hermann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Denyse Waters"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Lashell Thompson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (1.5ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Margit Price"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Jutta Cummerata"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Vita Franecki"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Ceola Altenwerth"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Carita McGlynn"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Kattie Lemke"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Claretha Keeling"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Stanley Doyle"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Renita Haley"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Colleen Goldner"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Ria Fay"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Joaquina Lemke"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Shonna Kris"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "jeffery_homenick@kling.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "january@bruen.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (1.4ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", ""], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "bambi@hoegergrimes.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "lavonna.bahringer@smitham.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.4ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "marlena@langoshgerhold.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Cheree Abshire"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (3.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::RateChangeRequestsController#update as HTML
+ Parameters: {"rate_change_request"=>{"authorized_by"=>"Raymond Kreiger"}, "id"=>"5"}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Load (1.2ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.5ms)[0m [1m[34mSELECT 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[0m [["reference_number", "Cheree Abshire"], ["id", 5], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (1.2ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Update (1.9ms)[0m [1m[33mUPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3[0m [["authorized_by", "Raymond Kreiger"], ["updated_at", "2018-09-05 19:27:41.812203"], ["id", 5]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.25ms)
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::RateChangeRequest Load (1.3ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "delores.kutch@schroederrunte.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "hilma@gusikowski.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "stephaine_mills@dubuque.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.2ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Latesha Weimann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Jada Kihn"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Tony Littel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Jada Kihn"], ["name", "Tony Littel"], ["created_at", "2018-09-05 19:27:41.873948"], ["updated_at", "2018-09-05 19:27:41.873948"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cassidy Abshire"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Randee Green"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Brittny Beer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.8ms)[0m [1m[34mSELECT 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[0m [["code", "Brooke Schiller"], ["service_delivery_unit_id", 17], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.1ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Brooke Schiller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (2.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 18], ["chargeable_service_id", 18]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Eusebia Bernhard"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Robby Parker"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Eusebia Bernhard"], ["name", "Robby Parker"], ["created_at", "2018-09-05 19:27:41.936572"], ["updated_at", "2018-09-05 19:27:41.936572"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Mose Eichmann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (2.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Hanna Hyatt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (2.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Lean Pfeffer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.9ms)[0m [1m[34mSELECT 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[0m [["code", "Chun Schaefer"], ["service_delivery_unit_id", 18], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (3.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Chun Schaefer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (2.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 19], ["chargeable_service_id", 19]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (5.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (4.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Joanna Schultz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Ingeborg Abbott"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Wayne Upton"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Melba McDermott"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.1ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Masako Schultz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Maryellen Trantow"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Romana Jast"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Meghan Schaden"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Carma Jacobi"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Thi Oberbrunner"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Lakia Friesen"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Frances Wuckert"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.1ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Darcel Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Stasia Eichmann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Yuk O'Reilly"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (17.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Keturah Kertzmann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Thalia Mann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Natividad Hodkiewicz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Penny Ruecker"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Mindi Hodkiewicz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "vi.rosenbaum@kertzmann.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.7ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ruthann.schulist@keebler.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.7ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Load (0.7ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["reference_number", "Suzanne Powlowski"], ["id", 6], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Update (1.0ms)[0m [1m[33mUPDATE "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[0m [["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]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.18ms)
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "alexis_steuber@schuster.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "reynalda_mitchell@runolfssonlittel.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "shanti.hahn@goyette.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Cordelia Bradtke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Magen Johnston"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Jamey Lakin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Magen Johnston"], ["name", "Jamey Lakin"], ["created_at", "2018-09-05 19:27:42.174512"], ["updated_at", "2018-09-05 19:27:42.174512"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Sibyl Brakus"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Lita Wiegand"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Bernadine Hintz"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Curt Stroman"], ["service_delivery_unit_id", 19], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Curt Stroman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 20], ["chargeable_service_id", 20]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Van Rau"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Elanor Glover"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Van Rau"], ["name", "Elanor Glover"], ["created_at", "2018-09-05 19:27:42.208318"], ["updated_at", "2018-09-05 19:27:42.208318"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Isaias Koss"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Sherron Prosacco"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Jasper Rutherford"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.7ms)[0m [1m[34mSELECT 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[0m [["code", "Sterling Romaguera"], ["service_delivery_unit_id", 20], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.1ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Sterling Romaguera"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 21], ["chargeable_service_id", 21]]
+ [1m[35m (1.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Tori Mertz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Leslee Dickinson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.4ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Oneida Hayes"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Sean Jaskolski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Romeo Hane"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Lieselotte Douglas"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Eneida Smith"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Emeline Legros"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Keshia Williamson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Roseline Kassulke"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Junie Schmeler"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Kaila Hills"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Ashleigh Little"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Mohammed Auer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Linda Hilll"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Coletta Satterfield"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Kia Strosin"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Felica McDermott"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Ozie Crona"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Cleo Howell"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "rosemary.homenick@rosenbaum.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "catrice@hintz.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Load (0.9ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["reference_number", ""], ["id", 7], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "arlie@schroeder.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.6ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Domingo Ankunding"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Samatha Champlin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#index as HTML
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles"[0m
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "jackeline_shanahan@reichel.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Ramonita Ratke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (2.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Oda Brekke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Cleopatra Balistreri"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Petrina Bednar"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML
+ Parameters: {"id"=>"22"}
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1[0m [["service_delivery_unit_id", 22]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "thad@reinger.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Akiko Moore"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Kandy Fadel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.7ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jared Smitham"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Nicolasa Wehner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Rozanne Prosacco"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Tanna Padberg"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Julee Lind"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Oretha Fahey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Lucina Ward"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Kandice Denesik"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML
+ Parameters: {"id"=>"23"}
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1[0m [["service_delivery_unit_id", 23]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (2.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "blossom@oconnell.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (2.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (2.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Marquetta Kunde"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Margarett Windler"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (2.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#show as HTML
+ Parameters: {"id"=>"32"}
+ [1m[36mMks::Auth::User Load (1.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (1.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.1ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "darron.frami@kuvalis.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.5ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Alix Barrows"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jene Huel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (5.4ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (2.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Carlotta Gulgowski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (3.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Masako Swift"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (2.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#filter as HTML
+ Parameters: {"search"=>"First"}
+ [1m[36mMks::Auth::User Load (1.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (1.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (1.9ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%')[0m
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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"}
+ [1m[36mMks::Auth::User Load (1.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (2.2ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (1.9ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%service%')[0m
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (2.1ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (2.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "charlette_mills@klocko.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Thao Cole"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Boris Cummings"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Neoma Bode"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Federico Pollich"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#filter as HTML
+ Parameters: {"search"=>"First"}
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%')[0m
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "romelia@kessler.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_bundles"[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Sheryl Leuschke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (1.3ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.5ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jodi Marks"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (2.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_bundles"[0m
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "divina.hayes@monahan.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Cheryll Franecki"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (2.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}}
+ [1m[36mMks::Auth::User Load (1.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Digna Wunsch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ashley_stracke@schiller.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Mirtha Mitchell"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#create as HTML
+ Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Martina Hirthe", "name"=>"Cliff Schaefer", "service_delivery_unit_id"=>"34"}}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", ""], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (1.5ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "clora.jacobs@farrellemard.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Carissa Dickinson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Lakeshia Brakus"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Patrice Walker"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lonny Champlin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Patrice Walker"], ["name", "Lonny Champlin"], ["created_at", "2018-09-05 19:27:42.919339"], ["updated_at", "2018-09-05 19:27:42.919339"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cecilia Kulas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Karole Homenick"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Chun Kuhlman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Taunya Legros"], ["service_delivery_unit_id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Taunya Legros"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 40], ["chargeable_service_id", 22]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 39]]
+Processing by Mks::Rate::ServiceBundlesController#add_services as HTML
+ Parameters: {"ids"=>["22"], "id"=>"39"}
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+Unpermitted parameter: :id
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ernestina_jacobs@stiedemannsauer.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Maragaret Lowe"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Freddie Wolff"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (2.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceBundlesController#update as HTML
+ Parameters: {"service_bundle"=>{"name"=>"Erlinda Ondricka"}, "id"=>"41"}
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3[0m [["code", "Freddie Wolff"], ["id", 41], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Update (1.0ms)[0m [1m[33mUPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3[0m [["name", "Erlinda Ondricka"], ["updated_at", "2018-09-05 19:27:43.003270"], ["id", 41]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ServiceBundle Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ismael@goodwinbosco.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Simon Schulist"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Kimiko Cartwright"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Mitsue Wolf"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3[0m [["code", "Leora Kris"], ["id", 42], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Update (0.9ms)[0m [1m[33mUPDATE "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[0m [["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]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "morgan@labadie.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Katerine Connelly"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Luana Russel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Vicente Herzog"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+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"}
+ [1m[36mMks::Auth::User Load (1.5ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3[0m [["code", ""], ["id", 43], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "darnell@thompson.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.7ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Marta Kulas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Taneka Smitham"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Ethelene Emard"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.4ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units"[0m
+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)
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "marva.ortiz@aufderhar.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.2ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_delivery_units"[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON
+ Parameters: {"service_delivery_unit"=>{"address"=>"Imelda Brekke", "code"=>"Neely Steuber", "name"=>"Tyesha Kohler"}}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Neely Steuber"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.16ms)
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_delivery_units"[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "patsy@bernhard.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON
+ Parameters: {"service_delivery_unit"=>{"address"=>"Chana White", "code"=>"Slyvia Kessler", "name"=>"Barton Volkman"}}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Slyvia Kessler"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.1ms)
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "chanda@barrowshansen.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON
+ Parameters: {"service_delivery_unit"=>{"address"=>"Ruthanne Cummerata", "code"=>"", "name"=>"Kanisha Tromp"}}
+ [1m[36mMks::Auth::User Load (0.6ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", ""], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "cliff@jacobswisozk.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.7ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Doria Gerlach"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON
+ Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"47"}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Doria Gerlach"], ["id", 47], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Update (1.6ms)[0m [1m[33mUPDATE "mks_rate_service_delivery_units" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_delivery_units"."id" = $3[0m [["name", "Service delivery unit 1"], ["updated_at", "2018-09-05 19:27:43.243144"], ["id", 47]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.19ms)
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.0ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "garnett_labadie@harvey.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Renda Carter"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON
+ Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"}
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Renda Carter"], ["id", 48], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "rosalie@rosenbaum.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Marilynn Sauer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Allena Berge"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Temple Osinski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Jeremiah Stokes"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Sanjuanita Boyle"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "An Powlowski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Cassandra Johnston"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Tom Gerhold"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Shirley Zieme"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Lesa Hilpert"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Delana O'Kon"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Demarcus Spinka"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Blanche Miller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Lucia Lakin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Debby Macejkovic"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Lynne Hoeger"], ["service_delivery_unit_id", 49], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Lynne Hoeger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 44], ["chargeable_service_id", 23]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Janita Hane"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Joel Carroll"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Georgette Kozey"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Ilona Borer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Burl Bahringer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.7ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Chassidy Luettgen"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Pia Koepp"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Rhea Heaney"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Alexandria Aufderhar"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Buck Bartell"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Cleora Simonis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Ellis Runolfsdottir"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Cleora Simonis"], ["name", "Ellis Runolfsdottir"], ["created_at", "2018-09-05 19:27:43.431404"], ["updated_at", "2018-09-05 19:27:43.431404"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Hyacinth Conn"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Blossom Cartwright"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Hien Stiedemann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Loren Gislason"], ["service_delivery_unit_id", 50], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Loren Gislason"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 45], ["chargeable_service_id", 24]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Yolonda Waelchi"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Coretta Bartell"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Samantha Abernathy"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Hollie Hackett"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Narcisa Mitchell"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Herlinda Grant"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Aide Macejkovic"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Ellis Schumm"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Valeria Simonis"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Jeramy Hettinger"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Inocencia Doyle"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Zetta Monahan"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Inocencia Doyle"], ["name", "Zetta Monahan"], ["created_at", "2018-09-05 19:27:43.501392"], ["updated_at", "2018-09-05 19:27:43.501392"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cherelle Conn"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Nikia Langworth"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Dominica Beier"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Manuel Hauck"], ["service_delivery_unit_id", 51], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Manuel Hauck"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 46], ["chargeable_service_id", 25]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceRatesController#index as HTML
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_rates"[0m
+ [1m[36mMks::Rate::ServiceRate Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates"[0m
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (1.3ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.7ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.8ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.8ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
+[active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.94ms)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_rates"[0m
+ [1m[36mMks::Auth::User Load (1.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "irving.pollich@rau.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Donnie Hintz"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Rebecka Kreiger"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Mao Heathcote"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Mirella Bashirian"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.5ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Tarsha Parker"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Kai Barrows"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Tianna King"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Duane Windler"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Chasidy Schimmel"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Aleshia Bernier"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Sumiko Harvey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Chong Hilpert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Sumiko Harvey"], ["name", "Chong Hilpert"], ["created_at", "2018-09-05 19:27:43.628736"], ["updated_at", "2018-09-05 19:27:43.628736"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Oren Koepp"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Alfredia Haag"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Tien Bailey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.3ms)[0m [1m[34mSELECT 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[0m [["code", "Corinne Abbott"], ["service_delivery_unit_id", 52], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.4ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Corinne Abbott"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 47], ["chargeable_service_id", 26]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Candida Leannon"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Alpha Romaguera"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Harriette Romaguera"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Darron Feil"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Penelope Gusikowski"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Mollie Ebert"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Xenia Aufderhar"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Rosie Christiansen"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Ami Bechtelar"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Trent Ankunding"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Annetta Douglas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Machelle Schamberger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Annetta Douglas"], ["name", "Machelle Schamberger"], ["created_at", "2018-09-05 19:27:43.716842"], ["updated_at", "2018-09-05 19:27:43.716842"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Stephaine Lubowitz"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Ted Kovacek"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Devona Nienow"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.7ms)[0m [1m[34mSELECT 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[0m [["code", "Cathie Parisian"], ["service_delivery_unit_id", 53], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Cathie Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 48], ["chargeable_service_id", 27]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Dagny Klein"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Andre Kerluke"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Essie Wuckert"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Lavon Legros"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Jasmine Sauer"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Franklin Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Savanna Bosco"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Leah Schamberger"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Loria Rippin"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Tammi Schroeder"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Argelia Spencer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Felix Kilback"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Argelia Spencer"], ["name", "Felix Kilback"], ["created_at", "2018-09-05 19:27:43.799124"], ["updated_at", "2018-09-05 19:27:43.799124"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Ghislaine Barton"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Homer Barrows"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (2.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Gil Kunde"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Jo McKenzie"], ["service_delivery_unit_id", 54], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jo McKenzie"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 49], ["chargeable_service_id", 28]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceRatesController#working_rates as HTML
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceRate Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates"[0m
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.7ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (0.6ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.8ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ChargeableService Load (0.6ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Edm::EquipmentItem Load (0.7ms)[0m [1m[34mSELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
+[active_model_serializers] [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "lyn@skiles.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.2ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Kristyn Nader"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Xiomara Murray"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Kristyn Nader"], ["name", "Xiomara Murray"], ["created_at", "2018-09-05 19:27:43.877245"], ["updated_at", "2018-09-05 19:27:43.877245"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#index as HTML
+ [1m[36mMks::Auth::User Load (1.2ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types"[0m
+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)
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "reva_medhurst@hegmann.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Oliva Rolfson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Gaylord Wehner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Oliva Rolfson"], ["name", "Gaylord Wehner"], ["created_at", "2018-09-05 19:27:43.906134"], ["updated_at", "2018-09-05 19:27:43.906134"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#show as HTML
+ Parameters: {"id"=>"31"}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 58], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (1.2ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (1.3ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "lashawnda.doyle@konopelski.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_types"[0m
+Processing by Mks::Rate::ServiceTypesController#create as HTML
+ Parameters: {"service_type"=>{"code"=>"Velia Kris", "name"=>"Katia Dickinson"}}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Velia Kris"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Katia Dickinson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Velia Kris"], ["name", "Katia Dickinson"], ["created_at", "2018-09-05 19:27:43.937345"], ["updated_at", "2018-09-05 19:27:43.937345"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_types"[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "jeniffer_carter@hyatt.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.2ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#create as HTML
+ Parameters: {"service_type"=>{"code"=>"Delisa Davis", "name"=>"Gabriella Torp"}}
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Delisa Davis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Gabriella Torp"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Delisa Davis"], ["name", "Gabriella Torp"], ["created_at", "2018-09-05 19:27:43.969454"], ["updated_at", "2018-09-05 19:27:43.969454"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "troy@gutmannwatsica.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#create as HTML
+ Parameters: {"service_type"=>{"code"=>"", "name"=>"Lilia Mayert"}}
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 61], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", ""], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lilia Mayert"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "dorinda@lueilwitz.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (2.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Valeria Kutch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Crissy Hettinger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Valeria Kutch"], ["name", "Crissy Hettinger"], ["created_at", "2018-09-05 19:27:44.018355"], ["updated_at", "2018-09-05 19:27:44.018355"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#update as HTML
+ Parameters: {"service_type"=>{"name"=>"Merissa Davis"}, "id"=>"34"}
+ [1m[36mMks::Auth::User Load (1.1ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 62], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["code", "Valeria Kutch"], ["id", 34], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["name", "Merissa Davis"], ["id", 34], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Update (1.1ms)[0m [1m[33mUPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3[0m [["name", "Merissa Davis"], ["updated_at", "2018-09-05 19:27:44.029788"], ["id", 34]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (1.2ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[36mMks::Rate::ServiceType Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "tanna@manncasper.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Zachery Swaniawski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Anglea Rosenbaum"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Zachery Swaniawski"], ["name", "Anglea Rosenbaum"], ["created_at", "2018-09-05 19:27:44.056838"], ["updated_at", "2018-09-05 19:27:44.056838"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#update as HTML
+ Parameters: {"service_type"=>{"code"=>"Angeline Gleason", "name"=>"Elida Braun"}, "id"=>"35"}
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 63], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["code", "Angeline Gleason"], ["id", 35], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["name", "Elida Braun"], ["id", 35], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Update (1.4ms)[0m [1m[33mUPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4[0m [["code", "Angeline Gleason"], ["name", "Elida Braun"], ["updated_at", "2018-09-05 19:27:44.068931"], ["id", 35]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.7ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "alla@botsfordbins.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (17.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Demetrius Ebert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Virgen Stracke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Demetrius Ebert"], ["name", "Virgen Stracke"], ["created_at", "2018-09-05 19:27:44.109922"], ["updated_at", "2018-09-05 19:27:44.109922"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::ServiceTypesController#update as HTML
+ Parameters: {"service_type"=>{"code"=>"", "name"=>"Twana Reilly"}, "id"=>"36"}
+ [1m[36mMks::Auth::User Load (1.4ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 64], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["code", ""], ["id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["name", "Twana Reilly"], ["id", 36], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "manual_mcdermott@ritchie.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Sierra Medhurst"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Linnie Cassin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Gwendolyn White"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Processing by Mks::Rate::UnitOfChargesController#index as HTML
+ [1m[36mMks::Auth::User Load (0.8ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 65], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_unit_of_charges"[0m
+ [1m[36mMks::Rate::UnitOfCharge Load (0.8ms)[0m [1m[34mSELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges"[0m
+[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)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_unit_of_charges"[0m
+ [1m[36mMks::Auth::User Load (1.0ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["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)
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Shay Collier"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Brain Crona"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Shay Collier"], ["name", "Brain Crona"], ["created_at", "2018-09-05 19:27:44.180132"], ["updated_at", "2018-09-05 19:27:44.180132"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Ailene Bergnaum"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Jared Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Glynda Collins"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.2ms)[0m [1m[34mSELECT 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[0m [["code", "Desiree Bayer"], ["service_delivery_unit_id", 55], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Desiree Bayer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.6ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 50], ["chargeable_service_id", 29]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.1ms)[0m [1m[34mSELECT 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[0m [["code", "Desiree Bayer"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Mari Littel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Karri Hyatt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Mari Littel"], ["name", "Karri Hyatt"], ["created_at", "2018-09-05 19:27:44.230860"], ["updated_at", "2018-09-05 19:27:44.230860"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Gabriela Bode"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Maud Runolfsson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (2.6ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Delora Mills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["service_delivery_unit_id", 56], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Damion Jakubowski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Keith Botsford"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Damion Jakubowski"], ["name", "Keith Botsford"], ["created_at", "2018-09-05 19:27:44.263023"], ["updated_at", "2018-09-05 19:27:44.263023"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Patrick Bernhard"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Allen Conn"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Karri Jewess"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.4ms)[0m [1m[34mSELECT 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[0m [["code", "Naomi Lowe"], ["service_delivery_unit_id", 57], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Cherrie Hackett"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Gena Collier"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Cherrie Hackett"], ["name", "Gena Collier"], ["created_at", "2018-09-05 19:27:44.291670"], ["updated_at", "2018-09-05 19:27:44.291670"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Maxie Adams"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Jessie Hauck"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.5ms)[0m [1m[34mSELECT 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[0m [["code", "Sherril Windler"], ["service_delivery_unit_id", 58], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Jarrod Littel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Eilene Mills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Jarrod Littel"], ["name", "Eilene Mills"], ["created_at", "2018-09-05 19:27:44.318579"], ["updated_at", "2018-09-05 19:27:44.318579"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Rachael Larson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Alda Trantow"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.4ms)[0m [1m[34mSELECT 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[0m [["code", "Lucinda Walsh"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Val Bergnaum"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Rachal Swift"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Val Bergnaum"], ["name", "Rachal Swift"], ["created_at", "2018-09-05 19:27:44.344150"], ["updated_at", "2018-09-05 19:27:44.344150"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Romana Altenwerth"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Toshiko Hudson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Tisa Stracke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Roger Christiansen"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 51], ["chargeable_service_id", 30]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Salvador Buckridge"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lori Gorczany"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Salvador Buckridge"], ["name", "Lori Gorczany"], ["created_at", "2018-09-05 19:27:44.382368"], ["updated_at", "2018-09-05 19:27:44.382368"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Olivia Welch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Tommye Wilderman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Alfredo Reichert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Gema Rath"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Alfredo Reichert"], ["name", "Gema Rath"], ["created_at", "2018-09-05 19:27:44.405277"], ["updated_at", "2018-09-05 19:27:44.405277"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Crystal Kerluke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Siobhan Hand"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Kemberly Lebsack"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.0ms)[0m [1m[34mSELECT 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[0m [["code", "Jewell Gerhold"], ["service_delivery_unit_id", 60], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (2.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.3ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jewell Gerhold"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 52], ["chargeable_service_id", 31]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_bundles"[0m
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 52]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "charlette.jaskolski@roob.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "su_champlin@kleinschoen.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (3.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Queenie Green"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["reference_number", "Queenie Green"], ["id", 8], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "keeley@kleinhammes.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.1ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "america@ornbatz.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Joaquina Mohr"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "king.goyette@kilbackhyatt.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "youlanda.rodriguez@runte.info"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.4ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "loreta@andersonbauch.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "ayanna_jones@mcglynnbrekke.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.4ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Karmen Roob"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "breanne.legros@dooley.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "horacio_tremblay@wehnergrady.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.0ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Karmen Roob"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "kari@armstrong.biz"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.5ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "odilia@goldner.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Lavone McDermott"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "kyong_marquardt@oga.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "larue@gerhold.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.7ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Lili King"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "oneida@vandervort.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.6ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "raina_wuckert@mcdermottledner.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.4ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Keven Dickinson"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "machelle.cummings@towne.ca"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "sharyl@rohan.co.uk"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Aida Schmeler"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "mary@bashirian.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.9ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Phil Lesch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (1.9ms)[0m [1m[34mSELECT 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[0m [["reference_number", "Phil Lesch"], ["id", 10], ["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Collin Dickinson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Rona Schowalter"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.6ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3[0m [["code", "Rona Schowalter"], ["id", 53], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Pamela Mante"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Yon Kreiger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Tama Beatty"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Alison Greenholt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Ferne White"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Caprice Deckow"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Yong Lehner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Dorathy Zieme"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Yong Lehner"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Rhona Upton"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 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[0m [["code", "Rhona Upton"], ["id", 67], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Ula Rogahn"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Cherise Hodkiewicz"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.4ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Cherise Hodkiewicz"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Margert Ferry"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Mi Lehner"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.5ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Candi Hudson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Rhonda O'Conner"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.3ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Kayleen Farrell"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Enid Schimmel"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Lauren Anderson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Evelina Howe"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Amado Daugherty"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Alene Bruen"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Arlen Nicolas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Aliza Mueller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Arlen Nicolas"], ["name", "Aliza Mueller"], ["created_at", "2018-09-05 19:27:44.857372"], ["updated_at", "2018-09-05 19:27:44.857372"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Antonia Murazik"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Kimberly Hegmann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Vena King"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Donetta Hammes"], ["service_delivery_unit_id", 69], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 69], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Donetta Hammes"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 55], ["chargeable_service_id", 32]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Noella Schimmel"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Jutta Daugherty"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Selma Mann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Elmer Grady"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Mamie Denesik"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Nell Mann"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Shizuko Reinger"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (1.4ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Elnora Rippin"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Connie Ritchie"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Yaeko Cole"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Allen Koss"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lelia Oberbrunner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Allen Koss"], ["name", "Lelia Oberbrunner"], ["created_at", "2018-09-05 19:27:44.933738"], ["updated_at", "2018-09-05 19:27:44.933738"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cedrick Bosco"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Azalee Zemlak"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Isela Kuhic"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Sam Schneider"], ["service_delivery_unit_id", 70], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 70], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Sam Schneider"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 56], ["chargeable_service_id", 33]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Deedee Lesch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Maryanna Keeling"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Barton Schowalter"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Siu Okuneva"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Bret Feil"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Merideth Rogahn"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Dana Gislason"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Marcos Daugherty"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Robert O'Keefe"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Frankie Heaney"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (2.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Leatha Homenick"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Rene Witting"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Leatha Homenick"], ["name", "Rene Witting"], ["created_at", "2018-09-05 19:27:45.016808"], ["updated_at", "2018-09-05 19:27:45.016808"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Toshia Goyette"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Latoyia Blanda"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Kara McDermott"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Alta Moore"], ["service_delivery_unit_id", 71], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 71], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Alta Moore"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (13.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.5ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 57], ["chargeable_service_id", 34]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2[0m [["code", "Wava Becker"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2[0m [["name", "Maren Johns"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentType Create (1.4ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentCategory Exists (2.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2[0m [["code", "Monte Smith"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2[0m [["name", "Almeta Von"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentCategory Create (1.0ms)[0m [1m[32mINSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::Equipment Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2[0m [["code", "Felton Kreiger"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::Equipment Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::LocationType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2[0m [["code", "Bruno Casper"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2[0m [["name", "Rhiannon Lynch"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::LocationType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentLocation Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2[0m [["code", "Heather Anderson"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentLocation Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Edm::EquipmentItem Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2[0m [["code", "Kevin Lebsack"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2[0m [["serial_number", "Charlene Schuppe"], ["LIMIT", 1]]
+ [1m[36mMks::Edm::EquipmentItem Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Margo Dickens"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Leda Douglas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Margo Dickens"], ["name", "Leda Douglas"], ["created_at", "2018-09-05 19:27:45.117907"], ["updated_at", "2018-09-05 19:27:45.117907"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["code", "Margo Dickens"], ["id", 48], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3[0m [["name", "Leda Douglas"], ["id", 48], ["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Pamila Connelly"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Ha Kemmer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Rhonda Wuckert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Tyesha Goldner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Rhonda Wuckert"], ["name", "Tyesha Goldner"], ["created_at", "2018-09-05 19:27:45.150173"], ["updated_at", "2018-09-05 19:27:45.150173"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Rhonda Wuckert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Danny Carter"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Leon Hessel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Todd Halvorson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Leon Hessel"], ["name", "Todd Halvorson"], ["created_at", "2018-09-05 19:27:45.163885"], ["updated_at", "2018-09-05 19:27:45.163885"]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Valda O'Connell"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Todd Halvorson"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Grant Kuhlman"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Tamekia Keebler"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Anh Shanahan"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Anh Shanahan"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Abdul Muller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Nola Carter"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (2.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Abdul Muller"], ["name", "Nola Carter"], ["created_at", "2018-09-05 19:27:45.219270"], ["updated_at", "2018-09-05 19:27:45.219270"]]
+ [1m[35m (4.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Erwin Bartoletti"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Hildred Kshlerin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Vilma Paucek"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Gail Kautzer"], ["service_delivery_unit_id", 72], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (2.2ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 72], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Gail Kautzer"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 58], ["chargeable_service_id", 35]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Irvin Denesik"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Margo Hirthe"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Irvin Denesik"], ["name", "Margo Hirthe"], ["created_at", "2018-09-05 19:27:45.261573"], ["updated_at", "2018-09-05 19:27:45.261573"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cristina Ratke"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Marian Armstrong"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Therese Lang"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Marion Ledner"], ["service_delivery_unit_id", 73], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 73], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Marion Ledner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 59], ["chargeable_service_id", 36]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Melisa Kunde"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Kimberli Buckridge"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Melisa Kunde"], ["name", "Kimberli Buckridge"], ["created_at", "2018-09-05 19:27:45.301458"], ["updated_at", "2018-09-05 19:27:45.301458"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Mikaela Homenick"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Jimmy Tromp"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Amelia Greenholt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.1ms)[0m [1m[34mSELECT 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[0m [["code", "Londa Herman"], ["service_delivery_unit_id", 74], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.7ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 74], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Londa Herman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 60], ["chargeable_service_id", 37]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Load (1.1ms)[0m [1m[34mSELECT "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[0m [["chargeable_service_id", 35], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceRate Load (0.9ms)[0m [1m[34mSELECT "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[0m [["chargeable_service_id", 36], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceRate Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[36mMks::Rate::ChargeableService Load (0.6ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceRate Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "mks_rate_service_rates"[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Isidra Abbott"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Isela Kuphal"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Isidra Abbott"], ["name", "Isela Kuphal"], ["created_at", "2018-09-05 19:27:45.359204"], ["updated_at", "2018-09-05 19:27:45.359204"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Tosha Bartoletti"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Dollie Barrows"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Kathi Davis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (2.0ms)[0m [1m[34mSELECT 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[0m [["code", "Rossana Schultz"], ["service_delivery_unit_id", 75], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.2ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 75], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Rossana Schultz"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.3ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 61], ["chargeable_service_id", 38]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Load (0.8ms)[0m [1m[34mSELECT "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[0m [["chargeable_service_id", 38], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Load (0.6ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceRate Update (0.9ms)[0m [1m[33mUPDATE "mks_rate_service_rates" SET "base_rate" = $1, "updated_at" = $2 WHERE "mks_rate_service_rates"."id" = $3[0m [["base_rate", 300.0], ["updated_at", "2018-09-05 19:27:45.404301"], ["id", 10]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceRate Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "jacqui@west.us"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.3ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "dick@johnson.com"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (1.5ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Auth::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2[0m [["email", "dorotha_frami@huelflatley.name"], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Create (0.8ms)[0m [1m[32mINSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2[0m [["reference_number", "Christia Glover"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["reference_number", "Christia Glover"], ["id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Rate::RateChangeRequest Update (1.0ms)[0m [1m[33mUPDATE "mks_rate_rate_change_requests" SET "status" = $1, "approved_by_id" = $2, "updated_at" = $3 WHERE "mks_rate_rate_change_requests"."id" = $4[0m [["status", "APPROVED"], ["approved_by_id", 85], ["updated_at", "2018-09-05 19:27:45.446522"], ["id", 11]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::RateChangeRequest Load (0.8ms)[0m [1m[34mSELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
+ [1m[36mMks::Auth::User Load (0.9ms)[0m [1m[34mSELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Meta Toy"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Eugene Parker"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Brian Goldner"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Tressie Runolfsson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Brian Goldner"], ["name", "Tressie Runolfsson"], ["created_at", "2018-09-05 19:27:45.474895"], ["updated_at", "2018-09-05 19:27:45.474895"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Hoa Altenwerth"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Vina Kub"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Marybeth Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Jenni Bergstrom"], ["service_delivery_unit_id", 77], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 77], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jenni Bergstrom"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 63], ["chargeable_service_id", 39]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Krystin Fay"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Enoch Fritsch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Krystin Fay"], ["name", "Enoch Fritsch"], ["created_at", "2018-09-05 19:27:45.510474"], ["updated_at", "2018-09-05 19:27:45.510474"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Melinda Zboncak"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Yasuko Fay"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Marcelo Harris"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Lemuel Ondricka"], ["service_delivery_unit_id", 78], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.1ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 78], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Lemuel Ondricka"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 64], ["chargeable_service_id", 40]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Leslee Feeney"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Marvin Thompson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Leslee Feeney"], ["name", "Marvin Thompson"], ["created_at", "2018-09-05 19:27:45.544434"], ["updated_at", "2018-09-05 19:27:45.544434"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Dakota Harvey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Bobbie Skiles"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Lai Ritchie"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Paula Mosciski"], ["service_delivery_unit_id", 79], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 79], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Paula Mosciski"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 65], ["chargeable_service_id", 41]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 62]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Load (0.8ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3)[0m [["id", 39], ["id", 40], ["id", 41]]
+ [1m[36mMks::Rate::ChargeableService Load (0.8ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 62]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 62], ["chargeable_service_id", 39]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 62], ["chargeable_service_id", 40]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 62], ["chargeable_service_id", 41]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 62], ["LIMIT", 1]]
+ [1m[35m (1.3ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 62]]
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Isaiah Williamson"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Britney Morar"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Selena Bosco"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Arica Abshire"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Selena Bosco"], ["name", "Arica Abshire"], ["created_at", "2018-09-05 19:27:45.609185"], ["updated_at", "2018-09-05 19:27:45.609185"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Kiersten Will"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Paige Gaylord"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Lizeth Volkman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Cristin Koelpin"], ["service_delivery_unit_id", 81], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Cristin Koelpin"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 67], ["chargeable_service_id", 42]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Angelia Hilpert"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Leota Fritsch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Angelia Hilpert"], ["name", "Leota Fritsch"], ["created_at", "2018-09-05 19:27:45.649177"], ["updated_at", "2018-09-05 19:27:45.649177"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Paola Stiedemann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Maryann Senger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Vannesa Morissette"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.9ms)[0m [1m[34mSELECT 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[0m [["code", "Ling Lesch"], ["service_delivery_unit_id", 82], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.0ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.8ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 82], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Ling Lesch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 68], ["chargeable_service_id", 43]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Kira Leannon"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Mel O'Hara"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Rebecca Abernathy"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Leola Lynch"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Yael Wintheiser"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Aracelis Parisian"], ["service_delivery_unit_id", 83], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.6ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 83], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Aracelis Parisian"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 69], ["chargeable_service_id", 44]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 66], ["chargeable_service_id", 42]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 66], ["chargeable_service_id", 43]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 66], ["chargeable_service_id", 44]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 66]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Load (0.6ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1[0m [["id", 44]]
+ [1m[36mMks::Rate::ChargeableService Load (0.7ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 66]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.8ms)[0m [1m[31mDELETE 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)[0m [["service_bundle_id", 66], ["chargeable_service_id", 42], ["chargeable_service_id", 43]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Load (0.5ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 66], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 66]]
+ [1m[36mMks::Rate::ChargeableService Load (1.0ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 66]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Rickey Kertzmann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Nohemi Bernier"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.1ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[35m (4.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (2.5ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Danae Shields"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Jessenia Heller"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Danae Shields"], ["name", "Jessenia Heller"], ["created_at", "2018-09-05 19:27:45.766789"], ["updated_at", "2018-09-05 19:27:45.766789"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Mui Yundt"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Oren Mills"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Norene Hessel"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.3ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.1ms)[0m [1m[34mSELECT 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[0m [["code", "Suzanne Weber"], ["service_delivery_unit_id", 85], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.7ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (1.2ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Suzanne Weber"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (8.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 71], ["chargeable_service_id", 45]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Aline Kulas"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Lavette Frami"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (3.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Aline Kulas"], ["name", "Lavette Frami"], ["created_at", "2018-09-05 19:27:45.821118"], ["updated_at", "2018-09-05 19:27:45.821118"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Luigi Hand"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Ramona Kozey"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Tereasa Collins"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (3.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (1.1ms)[0m [1m[34mSELECT 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[0m [["code", "Kasandra Bins"], ["service_delivery_unit_id", 86], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (1.4ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.9ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 86], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Kasandra Bins"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (1.5ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.6ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 72], ["chargeable_service_id", 46]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "My Mitchell"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Vannessa Swift"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "My Mitchell"], ["name", "Vannessa Swift"], ["created_at", "2018-09-05 19:27:45.875005"], ["updated_at", "2018-09-05 19:27:45.875005"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Natisha McClure"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (2.5ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Twana Volkman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Alison Schamberger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (1.1ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Johnny Nikolaus"], ["service_delivery_unit_id", 87], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 87], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Johnny Nikolaus"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.8ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 73], ["chargeable_service_id", 47]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2[0m [["code", "Lashawna Tillman"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2[0m [["name", "Arlinda Hoeger"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceType Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["code", "Lashawna Tillman"], ["name", "Arlinda Hoeger"], ["created_at", "2018-09-05 19:27:45.913758"], ["updated_at", "2018-09-05 19:27:45.913758"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Cyndi Davis"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.8ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::UnitOfCharge Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2[0m [["name", "Goldie Gutmann"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::UnitOfCharge Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceDeliveryUnit Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2[0m [["code", "Lashawn Roob"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Create (0.7ms)[0m [1m[32mINSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Exists (0.8ms)[0m [1m[34mSELECT 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[0m [["code", "Jerrie Bartell"], ["service_delivery_unit_id", 88], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceDeliveryUnit Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2[0m [["id", 88], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2[0m [["code", "Jerrie Bartell"], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ServiceBundle Create (0.9ms)[0m [1m[32mINSERT 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"[0m [["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"]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 74], ["chargeable_service_id", 48]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 70], ["chargeable_service_id", 45]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 70], ["chargeable_service_id", 46]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 70]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ChargeableService Load (0.8ms)[0m [1m[34mSELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3)[0m [["id", 46], ["id", 47], ["id", 48]]
+ [1m[36mMks::Rate::ChargeableService Load (0.9ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 70]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms)[0m [1m[31mDELETE 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[0m [["service_bundle_id", 70], ["chargeable_service_id", 45]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 70], ["chargeable_service_id", 47]]
+ [1m[36mMks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms)[0m [1m[32mINSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2)[0m [["service_bundle_id", 70], ["chargeable_service_id", 48]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mMks::Rate::ServiceBundle Load (0.7ms)[0m [1m[34mSELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2[0m [["id", 70], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 70]]
+ [1m[36mMks::Rate::ChargeableService Exists (1.2ms)[0m [1m[34mSELECT 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[0m [["service_bundle_id", 70], ["id", 45], ["LIMIT", 1]]
+ [1m[36mMks::Rate::ChargeableService Load (1.2ms)[0m [1m[34mSELECT "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[0m [["service_bundle_id", 70]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m