(1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.1ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "darcy@hirthe.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Noble Conn"], ["last_name", "Jimmie Walker"], ["email", "darcy@hirthe.biz"], ["password_digest", "$2a$04$YabcjTLOvcQaFEr92sE5s.mxeq1BWdTdE3yk6icddgjKYtksB.0pO"], ["created_at", "2018-09-05 13:42:48.788477"], ["updated_at", "2018-09-05 13:42:48.788477"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ferdinand Mueller"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Julio Kuhic"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ferdinand Mueller"], ["name", "Julio Kuhic"], ["created_at", "2018-09-05 13:42:48.833183"], ["updated_at", "2018-09-05 13:42:48.833183"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lakenya Schuppe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lakenya Schuppe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.860660"], ["updated_at", "2018-09-05 13:42:48.860660"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Julianna Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julianna Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.867874"], ["updated_at", "2018-09-05 13:42:48.867874"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rick Crona"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rick Crona"], ["name", "Caren Abernathy"], ["address", "Madge Kassulke"], ["created_at", "2018-09-05 13:42:48.885644"], ["updated_at", "2018-09-05 13:42:48.885644"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Junita Shields"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Junita Shields"], ["name", "Randee Emmerich"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 13:42:48.893795"], ["updated_at", "2018-09-05 13:42:48.893795"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Junita Shields"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Junita Shields"], ["name", "Randee Emmerich"], ["description", "Default bundle for service 'Randee Emmerich'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 13:42:48.923095"], ["updated_at", "2018-09-05 13:42:48.923095"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 1]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ronny Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brandon Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ronny Goyette"], ["name", "Brandon Eichmann"], ["created_at", "2018-09-05 13:42:48.954139"], ["updated_at", "2018-09-05 13:42:48.954139"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Saran Goyette"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Saran Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.958759"], ["updated_at", "2018-09-05 13:42:48.958759"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Bertha Schmitt"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bertha Schmitt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.963640"], ["updated_at", "2018-09-05 13:42:48.963640"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Natasha Dicki"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Natasha Dicki"], ["name", "Magaret Daniel"], ["address", "Cordie Balistreri"], ["created_at", "2018-09-05 13:42:48.968252"], ["updated_at", "2018-09-05 13:42:48.968252"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Argentina Price"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Argentina Price"], ["name", "Leoma Adams"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 13:42:48.972998"], ["updated_at", "2018-09-05 13:42:48.972998"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Argentina Price"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Argentina Price"], ["name", "Leoma Adams"], ["description", "Default bundle for service 'Leoma Adams'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 13:42:48.978565"], ["updated_at", "2018-09-05 13:42:48.978565"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 2]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shanika Feest"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mitch Ruecker"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shanika Feest"], ["name", "Mitch Ruecker"], ["created_at", "2018-09-05 13:42:48.987841"], ["updated_at", "2018-09-05 13:42:48.987841"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Amie Stanton"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Amie Stanton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:48.993934"], ["updated_at", "2018-09-05 13:42:48.993934"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sau Emard"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sau Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.000714"], ["updated_at", "2018-09-05 13:42:49.000714"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Elidia O'Connell"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elidia O'Connell"], ["name", "Bibi Krajcik"], ["address", "Emelina Dicki"], ["created_at", "2018-09-05 13:42:49.006294"], ["updated_at", "2018-09-05 13:42:49.006294"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Delphine Doyle"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.5ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Delphine Doyle"], ["name", "Hyacinth Wisozk"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 13:42:49.011740"], ["updated_at", "2018-09-05 13:42:49.011740"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Delphine Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Delphine Doyle"], ["name", "Hyacinth Wisozk"], ["description", "Default bundle for service 'Hyacinth Wisozk'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 13:42:49.017774"], ["updated_at", "2018-09-05 13:42:49.017774"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 3]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.4ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC Mks::Rate::ServiceDeliveryUnit Load (1.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 3], ["id", 2], ["id", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.2ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.0ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (22.85ms) Completed 200 OK in 54ms (Views: 38.4ms | ActiveRecord: 12.9ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vicenta@lednerhuel.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jolanda O'Kon"], ["last_name", "Aubrey Mitchell"], ["email", "vicenta@lednerhuel.ca"], ["password_digest", "$2a$04$rGq87kh38DF6OP3GWftZ..8cOdlXxfyjSZfa1cbAD.pO1SMyNKIqK"], ["created_at", "2018-09-05 13:42:49.092952"], ["updated_at", "2018-09-05 13:42:49.092952"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hedy Cassin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hedy Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.112352"], ["updated_at", "2018-09-05 13:42:49.112352"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hal Fisher"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hal Fisher"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.118933"], ["updated_at", "2018-09-05 13:42:49.118933"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marguerite Runte"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marguerite Runte"], ["name", "Tifany Kerluke"], ["address", "Chloe Ernser"], ["created_at", "2018-09-05 13:42:49.123942"], ["updated_at", "2018-09-05 13:42:49.123942"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Adrianne Kling"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Camie Kris"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Adrianne Kling"], ["name", "Camie Kris"], ["created_at", "2018-09-05 13:42:49.130090"], ["updated_at", "2018-09-05 13:42:49.130090"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Brant Bergstrom", "name"=>"Bethany Reichert", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Brant Bergstrom"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Brant Bergstrom"], ["name", "Bethany Reichert"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 13:42:49.151349"], ["updated_at", "2018-09-05 13:42:49.151349"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brant Bergstrom"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Brant Bergstrom"], ["name", "Bethany Reichert"], ["description", "Default bundle for service 'Bethany Reichert'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 13:42:49.156902"], ["updated_at", "2018-09-05 13:42:49.156902"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 4]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.63ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 36ms (Views: 10.3ms | ActiveRecord: 12.0ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "derick@stracke.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kisha O'Keefe"], ["last_name", "Garnet Hodkiewicz"], ["email", "derick@stracke.info"], ["password_digest", "$2a$04$ycRtwSAwE6bOsJlaiYsv2uFIyFugBqLXAVPheyBbQ3ZWlJgFgWlcq"], ["created_at", "2018-09-05 13:42:49.187389"], ["updated_at", "2018-09-05 13:42:49.187389"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Michale Heathcote"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Michale Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.193843"], ["updated_at", "2018-09-05 13:42:49.193843"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Melodie Bartell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melodie Bartell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.202177"], ["updated_at", "2018-09-05 13:42:49.202177"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Irwin Herman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Irwin Herman"], ["name", "Amberly Mante"], ["address", "Junita Casper"], ["created_at", "2018-09-05 13:42:49.207619"], ["updated_at", "2018-09-05 13:42:49.207619"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lissette Rutherford"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Alexia Stanton"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lissette Rutherford"], ["name", "Alexia Stanton"], ["created_at", "2018-09-05 13:42:49.213729"], ["updated_at", "2018-09-05 13:42:49.213729"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Micaela Cassin", "name"=>"Marleen Dibbert", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Micaela Cassin"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Micaela Cassin"], ["name", "Marleen Dibbert"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 13:42:49.227143"], ["updated_at", "2018-09-05 13:42:49.227143"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Micaela Cassin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Micaela Cassin"], ["name", "Marleen Dibbert"], ["description", "Default bundle for service 'Marleen Dibbert'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 13:42:49.233089"], ["updated_at", "2018-09-05 13:42:49.233089"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 5]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.78ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.14ms) Completed 200 OK in 27ms (Views: 2.3ms | ActiveRecord: 11.9ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kristin_grant@ryanoreilly.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Clayton Bartoletti"], ["last_name", "Mervin Crist"], ["email", "kristin_grant@ryanoreilly.ca"], ["password_digest", "$2a$04$kJIuePRq.FH4k.nXeI5CSOk4O.hAEw2r0e04t1ticNPGPw.kq62W6"], ["created_at", "2018-09-05 13:42:49.254544"], ["updated_at", "2018-09-05 13:42:49.254544"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kenya Schaefer"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kenya Schaefer"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.261745"], ["updated_at", "2018-09-05 13:42:49.261745"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Yukiko Rodriguez"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yukiko Rodriguez"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.270510"], ["updated_at", "2018-09-05 13:42:49.270510"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Bess Roob"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bess Roob"], ["name", "Alise Schinner"], ["address", "Abigail Anderson"], ["created_at", "2018-09-05 13:42:49.276580"], ["updated_at", "2018-09-05 13:42:49.276580"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Liberty Hagenes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Katheleen Brekke"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Liberty Hagenes"], ["name", "Katheleen Brekke"], ["created_at", "2018-09-05 13:42:49.284957"], ["updated_at", "2018-09-05 13:42:49.284957"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Adelina Fay", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.1ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 34ms (Views: 7.2ms | ActiveRecord: 8.9ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "veronique_gottlieb@feeney.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Royce D'Amore"], ["last_name", "Myrtis Jakubowski"], ["email", "veronique_gottlieb@feeney.biz"], ["password_digest", "$2a$04$TBvQp5BQCoafNCSQVEJuzuiz.mtmvuiEsRcep5nCH.Sn3vVq/QmSi"], ["created_at", "2018-09-05 13:42:49.336288"], ["updated_at", "2018-09-05 13:42:49.336288"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kristopher Sipes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Audry Berge"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kristopher Sipes"], ["name", "Audry Berge"], ["created_at", "2018-09-05 13:42:49.346330"], ["updated_at", "2018-09-05 13:42:49.346330"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Raisa Smith"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Raisa Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.353761"], ["updated_at", "2018-09-05 13:42:49.353761"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Forest Blick"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Forest Blick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.360336"], ["updated_at", "2018-09-05 13:42:49.360336"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lizabeth Waters"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lizabeth Waters"], ["name", "Coy Koch"], ["address", "Heidy Hartmann"], ["created_at", "2018-09-05 13:42:49.365712"], ["updated_at", "2018-09-05 13:42:49.365712"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Tamra Corkery"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Tamra Corkery"], ["name", "Luz Gutmann"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 13:42:49.371625"], ["updated_at", "2018-09-05 13:42:49.371625"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tamra Corkery"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Tamra Corkery"], ["name", "Luz Gutmann"], ["description", "Default bundle for service 'Luz Gutmann'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 13:42:49.378128"], ["updated_at", "2018-09-05 13:42:49.378128"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 6]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"6"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Tamra Corkery"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (1.0ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.3ms) UPDATE "mks_rate_chargeable_services" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_chargeable_services"."id" = $3 [["name", "Chargeable service 1"], ["updated_at", "2018-09-05 13:42:49.399914"], ["id", 6]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tamra Corkery"], ["LIMIT", 1]]  (1.0ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.05ms) Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.23ms) Completed 200 OK in 40ms (Views: 1.2ms | ActiveRecord: 12.2ms) Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marlena_daugherty@mraz.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cierra Dicki"], ["last_name", "Phebe Kautzer"], ["email", "marlena_daugherty@mraz.info"], ["password_digest", "$2a$04$DB16BKyhYuCDfDIdACpV8uIzfnrOes2bSxyygpRqeed34gvWBXk8i"], ["created_at", "2018-09-05 13:42:49.444185"], ["updated_at", "2018-09-05 13:42:49.444185"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Josephina Kshlerin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Miguelina Green"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Josephina Kshlerin"], ["name", "Miguelina Green"], ["created_at", "2018-09-05 13:42:49.452529"], ["updated_at", "2018-09-05 13:42:49.452529"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maryalice Dietrich"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maryalice Dietrich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.457703"], ["updated_at", "2018-09-05 13:42:49.457703"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lu Lockman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lu Lockman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.463388"], ["updated_at", "2018-09-05 13:42:49.463388"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Andrew Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Andrew Lesch"], ["name", "Santo Reichel"], ["address", "Deena Oga"], ["created_at", "2018-09-05 13:42:49.469147"], ["updated_at", "2018-09-05 13:42:49.469147"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharonda Christiansen"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharonda Christiansen"], ["name", "Demetrius Smitham"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 13:42:49.474063"], ["updated_at", "2018-09-05 13:42:49.474063"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharonda Christiansen"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharonda Christiansen"], ["name", "Demetrius Smitham"], ["description", "Default bundle for service 'Demetrius Smitham'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 13:42:49.479373"], ["updated_at", "2018-09-05 13:42:49.479373"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 7]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Sharonda Christiansen"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 422 Unprocessable Entity in 14ms (Views: 1.5ms | ActiveRecord: 6.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hildegard@steubermarks.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jed Murphy"], ["last_name", "My Jewess"], ["email", "hildegard@steubermarks.biz"], ["password_digest", "$2a$04$ocXQF6f8q.urKhCJedgZ4OO7J6n298szC6w87849PRu6CI4SjZIUe"], ["created_at", "2018-09-05 13:42:49.507569"], ["updated_at", "2018-09-05 13:42:49.507569"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ahmad Gottlieb"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ahmad Gottlieb"], ["name", "Felecia Jacobs"], ["address", "Daron Beatty"], ["created_at", "2018-09-05 13:42:49.513724"], ["updated_at", "2018-09-05 13:42:49.513724"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Celena Quigley"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Celena Quigley"], ["name", "Nona Beer"], ["address", "Nicol Bechtelar"], ["created_at", "2018-09-05 13:42:49.519940"], ["updated_at", "2018-09-05 13:42:49.519940"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Bart Hodkiewicz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cristin Raynor"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bart Hodkiewicz"], ["name", "Cristin Raynor"], ["created_at", "2018-09-05 13:42:49.527885"], ["updated_at", "2018-09-05 13:42:49.527885"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jacelyn Windler"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jacelyn Windler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.534148"], ["updated_at", "2018-09-05 13:42:49.534148"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vinita Koss"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vinita Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.538959"], ["updated_at", "2018-09-05 13:42:49.538959"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Enrique Pagac"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Enrique Pagac"], ["name", "Sherri Baumbach"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.545990"], ["updated_at", "2018-09-05 13:42:49.545990"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Enrique Pagac"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Enrique Pagac"], ["name", "Sherri Baumbach"], ["description", "Default bundle for service 'Sherri Baumbach'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.551060"], ["updated_at", "2018-09-05 13:42:49.551060"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sana Mohr"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Deja Huel"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sana Mohr"], ["name", "Deja Huel"], ["created_at", "2018-09-05 13:42:49.559951"], ["updated_at", "2018-09-05 13:42:49.559951"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Forest Goldner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Forest Goldner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.564745"], ["updated_at", "2018-09-05 13:42:49.564745"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Andrew Jerde"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Andrew Jerde"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.569438"], ["updated_at", "2018-09-05 13:42:49.569438"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Florance Legros"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Florance Legros"], ["name", "Jennifer Green"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.575535"], ["updated_at", "2018-09-05 13:42:49.575535"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Florance Legros"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Florance Legros"], ["name", "Jennifer Green"], ["description", "Default bundle for service 'Jennifer Green'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 13:42:49.580331"], ["updated_at", "2018-09-05 13:42:49.580331"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 9], ["chargeable_service_id", 9]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gordon Mertz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chung Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gordon Mertz"], ["name", "Chung Heaney"], ["created_at", "2018-09-05 13:42:49.589165"], ["updated_at", "2018-09-05 13:42:49.589165"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Allie Grant"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Allie Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.593929"], ["updated_at", "2018-09-05 13:42:49.593929"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Pat Carroll"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pat Carroll"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.598555"], ["updated_at", "2018-09-05 13:42:49.598555"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Shonta Zemlak"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Shonta Zemlak"], ["name", "Lesia Jacobi"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.604714"], ["updated_at", "2018-09-05 13:42:49.604714"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Shonta Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Shonta Zemlak"], ["name", "Lesia Jacobi"], ["description", "Default bundle for service 'Lesia Jacobi'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.609583"], ["updated_at", "2018-09-05 13:42:49.609583"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 10], ["chargeable_service_id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Freeman Witting"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Arden Keeling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Freeman Witting"], ["name", "Arden Keeling"], ["created_at", "2018-09-05 13:42:49.619979"], ["updated_at", "2018-09-05 13:42:49.619979"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Terrell Hegmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Terrell Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.625042"], ["updated_at", "2018-09-05 13:42:49.625042"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Renetta Feil"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Renetta Feil"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.629990"], ["updated_at", "2018-09-05 13:42:49.629990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharon Balistreri"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharon Balistreri"], ["name", "Joella Mann"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.636538"], ["updated_at", "2018-09-05 13:42:49.636538"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharon Balistreri"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharon Balistreri"], ["name", "Joella Mann"], ["description", "Default bundle for service 'Joella Mann'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 13:42:49.642040"], ["updated_at", "2018-09-05 13:42:49.642040"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 11], ["chargeable_service_id", 11]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 9]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.06ms) Completed 200 OK in 16ms (Views: 8.2ms | ActiveRecord: 7.3ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lavinia.kemmer@vandervortsanford.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Reba Reilly"], ["last_name", "Colby McDermott"], ["email", "lavinia.kemmer@vandervortsanford.ca"], ["password_digest", "$2a$04$gWZmyvMR2Tu0gTBvHL3AJ.cCMLJBLZdnA9KxjFTU8DwFS/IQNeSYW"], ["created_at", "2018-09-05 13:42:49.674635"], ["updated_at", "2018-09-05 13:42:49.674635"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "joselyn@auer.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lady Schoen"], ["last_name", "Clayton Runolfsson"], ["email", "joselyn@auer.co.uk"], ["password_digest", "$2a$04$Ih45ok0p2gChB2f20wOdieMqI1Xz0CfLEIA7VzYlxC7KoaagS20mW"], ["created_at", "2018-09-05 13:42:49.706659"], ["updated_at", "2018-09-05 13:42:49.706659"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "moriah@kautzergorczany.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Phylis Hegmann"], ["last_name", "Cathey Borer"], ["email", "moriah@kautzergorczany.co.uk"], ["password_digest", "$2a$04$T5sr4RTlKUOShIbPHAX01.vjLTS7jOnOfmx6fcEGGqxNstFKqSfMG"], ["created_at", "2018-09-05 13:42:49.717259"], ["updated_at", "2018-09-05 13:42:49.717259"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Carlene Toy"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Carlene Toy"], ["authorized_by", "Corliss Hagenes"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 9], ["approved_by_id", 10], ["created_at", "2018-09-05 13:42:49.724267"], ["updated_at", "2018-09-05 13:42:49.724267"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" No serializer found for resource: #1, "base_rate"=>100, "utilization_rate"=>50}, {"chargeable_service_id"=>2, "base_rate"=>100, "utilization_rate"=>25}], status: "SUBMITTED", created_by_id: 9, approved_by_id: 10, remark: nil, created_at: "2018-09-05 13:42:49", updated_at: "2018-09-05 13:42:49"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.5ms) Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 2.5ms)  (1.2ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "keith_nienow@crooks.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lorie Wolf"], ["last_name", "Lizzette Turcotte"], ["email", "keith_nienow@crooks.us"], ["password_digest", "$2a$04$4ElTva5ALYAAqVQ4.dZXrO9ed8futl5kqmpjY5h6vw1Am3wl053zW"], ["created_at", "2018-09-05 13:42:49.755978"], ["updated_at", "2018-09-05 13:42:49.755978"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dorla_christiansen@keebler.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cristobal Abernathy"], ["last_name", "Randal Kihn"], ["email", "dorla_christiansen@keebler.co.uk"], ["password_digest", "$2a$04$700lYoD80FRxbmFhzxrFB.a8NDbGsohDSwmcVCv/x148TmrrA8g7m"], ["created_at", "2018-09-05 13:42:49.763990"], ["updated_at", "2018-09-05 13:42:49.763990"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kent@harberhartmann.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rickie Parisian"], ["last_name", "Mellie Graham"], ["email", "kent@harberhartmann.ca"], ["password_digest", "$2a$04$/XkunmWRJ0uz/6V9swqGhOxMa339cq4MSC5m/REzdP2DTdkFLPSqC"], ["created_at", "2018-09-05 13:42:49.770604"], ["updated_at", "2018-09-05 13:42:49.770604"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Augustine Schroeder"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.5ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Augustine Schroeder"], ["authorized_by", "Pablo Corwin"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 12], ["approved_by_id", 13], ["created_at", "2018-09-05 13:42:49.777238"], ["updated_at", "2018-09-05 13:42:49.777238"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.64ms) Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "myrtle.huels@mueller.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cherly Funk"], ["last_name", "Geraldine Conroy"], ["email", "myrtle.huels@mueller.com"], ["password_digest", "$2a$04$W0TF/oq9dLVIkYKTnuwKMeKyhl0MotMuCuil20XG6E6vE0hiWrtDS"], ["created_at", "2018-09-05 13:42:49.802381"], ["updated_at", "2018-09-05 13:42:49.802381"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Quintin Dach"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Monique Schiller"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Quintin Dach"], ["name", "Monique Schiller"], ["created_at", "2018-09-05 13:42:49.811957"], ["updated_at", "2018-09-05 13:42:49.811957"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Clint Roob"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clint Roob"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.818730"], ["updated_at", "2018-09-05 13:42:49.818730"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hui Pagac"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hui Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.824527"], ["updated_at", "2018-09-05 13:42:49.824527"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Morris Zulauf"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Morris Zulauf"], ["name", "Sheila Sauer"], ["address", "Shanti Lesch"], ["created_at", "2018-09-05 13:42:49.831757"], ["updated_at", "2018-09-05 13:42:49.831757"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Laurel Thompson"], ["service_delivery_unit_id", 11], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Laurel Thompson"], ["name", "Susie Lind"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 13:42:49.837318"], ["updated_at", "2018-09-05 13:42:49.837318"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Laurel Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Laurel Thompson"], ["name", "Susie Lind"], ["description", "Default bundle for service 'Susie Lind'"], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 13:42:49.842636"], ["updated_at", "2018-09-05 13:42:49.842636"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 12], ["chargeable_service_id", 12]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lyndsey Reinger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Melvina Kuhn"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lyndsey Reinger"], ["name", "Melvina Kuhn"], ["created_at", "2018-09-05 13:42:49.852598"], ["updated_at", "2018-09-05 13:42:49.852598"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Asuncion Kertzmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Asuncion Kertzmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.857258"], ["updated_at", "2018-09-05 13:42:49.857258"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tanya Kilback"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tanya Kilback"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:49.862121"], ["updated_at", "2018-09-05 13:42:49.862121"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Debora Rolfson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Debora Rolfson"], ["name", "Tawanna Eichmann"], ["address", "Lucius Kemmer"], ["created_at", "2018-09-05 13:42:49.867367"], ["updated_at", "2018-09-05 13:42:49.867367"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Donnie Harris"], ["service_delivery_unit_id", 12], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Donnie Harris"], ["name", "Lisha Heller"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 13:42:49.872498"], ["updated_at", "2018-09-05 13:42:49.872498"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donnie Harris"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Donnie Harris"], ["name", "Lisha Heller"], ["description", "Default bundle for service 'Lisha Heller'"], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 13:42:49.878085"], ["updated_at", "2018-09-05 13:42:49.878085"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 13], ["chargeable_service_id", 13]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Theron Abbott"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Verline Bernhard"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Theron Abbott"], ["name", "Verline Bernhard"], ["description", "Quam eveniet consectetur dolore aliquam ut est. Aliquam aut expedita hic et ut. Magni voluptas in omnis ex perspiciatis ut et quo. Laborum eos corporis sunt ea quis qui voluptas. Aspernatur repellat rerum aut facilis nesciunt voluptatibus voluptatem."], ["created_at", "2018-09-05 13:42:49.977542"], ["updated_at", "2018-09-05 13:42:49.977542"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Monroe Ryan"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Gary Gerlach"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.5ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Monroe Ryan"], ["name", "Gary Gerlach"], ["description", "Fugiat tempore in vel unde. Quidem autem aut reiciendis est. Consequatur ullam assumenda eius ut rem ea non."], ["equipment_type_id", 1], ["created_at", "2018-09-05 13:42:49.986475"], ["updated_at", "2018-09-05 13:42:49.986475"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Carolin Torphy"], ["LIMIT", 1]] Mks::Edm::Equipment Create (3.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carolin Torphy"], ["name", "Cleora Schmeler"], ["description", "Randy Lesch"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 13:42:49.994305"], ["updated_at", "2018-09-05 13:42:49.994305"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Sandi Leannon"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Mildred Crona"], ["LIMIT", 1]] Mks::Edm::LocationType Create (3.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sandi Leannon"], ["name", "Mildred Crona"], ["description", "Zetta Macejkovic"], ["created_at", "2018-09-05 13:42:50.034623"], ["updated_at", "2018-09-05 13:42:50.034623"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Carla Cummerata"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carla Cummerata"], ["name", "Frances Russel"], ["location_type_id", 1], ["description", "Cythia Nienow"], ["address", "Jeremiah Ziemann"], ["created_at", "2018-09-05 13:42:50.044274"], ["updated_at", "2018-09-05 13:42:50.044274"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Pia Williamson"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tonia Kozey"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.6ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Pia Williamson"], ["name", "Lemuel Kozey"], ["description", "Lamont Stark"], ["serial_number", "Tonia Kozey"], ["brand", "Gianna Dickinson"], ["item_model", "Dalila McKenzie"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 13:42:50.054997"], ["updated_at", "2018-09-05 13:42:50.054997"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Almeda Metz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Nicola Langworth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Almeda Metz"], ["name", "Nicola Langworth"], ["description", "Aut pariatur omnis facere ab officia sed non. Voluptas harum similique at quam eos laborum molestiae quia. Autem quos animi culpa architecto est. Voluptatem debitis esse sed omnis voluptatem minima ut aut."], ["created_at", "2018-09-05 13:42:50.063318"], ["updated_at", "2018-09-05 13:42:50.063318"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Summer Harris"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Michel Medhurst"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Summer Harris"], ["name", "Michel Medhurst"], ["description", "Doloremque veniam sint distinctio delectus et accusamus. Illum eos doloribus ea optio harum in enim. Velit est inventore quia nemo expedita consequatur rem."], ["equipment_type_id", 2], ["created_at", "2018-09-05 13:42:50.069265"], ["updated_at", "2018-09-05 13:42:50.069265"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Genevieve McKenzie"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Genevieve McKenzie"], ["name", "Tobias Gaylord"], ["description", "Margarett Ziemann"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 13:42:50.073694"], ["updated_at", "2018-09-05 13:42:50.073694"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Erwin McGlynn"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jenni Mosciski"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Erwin McGlynn"], ["name", "Jenni Mosciski"], ["description", "Mia Blick"], ["created_at", "2018-09-05 13:42:50.080171"], ["updated_at", "2018-09-05 13:42:50.080171"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Isobel Parker"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Isobel Parker"], ["name", "Amina Hilpert"], ["location_type_id", 2], ["description", "Eleanora Considine"], ["address", "Mayola Swaniawski"], ["created_at", "2018-09-05 13:42:50.084495"], ["updated_at", "2018-09-05 13:42:50.084495"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Danette Padberg"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shanelle Dietrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.4ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Danette Padberg"], ["name", "Neville Leuschke"], ["description", "Larraine Wintheiser"], ["serial_number", "Shanelle Dietrich"], ["brand", "Eloise Littel"], ["item_model", "Elfreda O'Hara"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 13:42:50.090093"], ["updated_at", "2018-09-05 13:42:50.090093"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tilda_moen@jewess.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ricki Kris"], ["last_name", "Jeri Stroman"], ["email", "tilda_moen@jewess.info"], ["password_digest", "$2a$04$cXNObd75tGm1i4JOxHuSLuzIFZwIes4tEx0eE5wPd/SsWw4g2.03q"], ["created_at", "2018-09-05 13:42:50.098345"], ["updated_at", "2018-09-05 13:42:50.098345"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cierra_beahan@reynolds.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Stacee Bins"], ["last_name", "Bula Borer"], ["email", "cierra_beahan@reynolds.name"], ["password_digest", "$2a$04$u4.KJcp/o4DdekK3tBYsl.O2FbaEDV2bC6j/8UtUwkhmU3yRU.uKG"], ["created_at", "2018-09-05 13:42:50.105597"], ["updated_at", "2018-09-05 13:42:50.105597"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"16", "authorized_by"=>"Shonna Emard", "authorized_on"=>"2018-09-05", "created_by_id"=>"15", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"12", "chargeable_service_name"=>"Lisha Heller", "equipment_item_id"=>"1", "equipment_item_name"=>"Neville Leuschke", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Gretchen Gaylord", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Gretchen Gaylord"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Gretchen Gaylord"], ["authorized_by", "Shonna Emard"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"12\",\"chargeable_service_name\":\"Lisha Heller\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Neville Leuschke\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 14], ["approved_by_id", 16], ["created_at", "2018-09-05 13:42:50.117529"], ["updated_at", "2018-09-05 13:42:50.117529"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.2ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.48ms) Completed 201 Created in 17ms (Views: 1.6ms | ActiveRecord: 5.8ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "santo@stracke.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Oneida Reynolds"], ["last_name", "Edythe Rogahn"], ["email", "santo@stracke.com"], ["password_digest", "$2a$04$S79VK.phcjJl2un9fis5.unFbtrGN5rhWFhTocIerJ6CPyDSsAvtW"], ["created_at", "2018-09-05 13:42:50.136975"], ["updated_at", "2018-09-05 13:42:50.136975"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Devin Harber"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tennie Gislason"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Devin Harber"], ["name", "Tennie Gislason"], ["created_at", "2018-09-05 13:42:50.149826"], ["updated_at", "2018-09-05 13:42:50.149826"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Danuta Torphy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Danuta Torphy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.155403"], ["updated_at", "2018-09-05 13:42:50.155403"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Latricia Boehm"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latricia Boehm"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.166430"], ["updated_at", "2018-09-05 13:42:50.166430"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dora Oga"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dora Oga"], ["name", "Omer O'Connell"], ["address", "Wilhemina Price"], ["created_at", "2018-09-05 13:42:50.171435"], ["updated_at", "2018-09-05 13:42:50.171435"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "January Block"], ["service_delivery_unit_id", 13], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "January Block"], ["name", "Blythe Jast"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 13:42:50.177262"], ["updated_at", "2018-09-05 13:42:50.177262"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "January Block"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "January Block"], ["name", "Blythe Jast"], ["description", "Default bundle for service 'Blythe Jast'"], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 13:42:50.183070"], ["updated_at", "2018-09-05 13:42:50.183070"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 14], ["chargeable_service_id", 14]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Myrtie Graham"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shenna Bogisich"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrtie Graham"], ["name", "Shenna Bogisich"], ["created_at", "2018-09-05 13:42:50.192407"], ["updated_at", "2018-09-05 13:42:50.192407"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Saran Kub"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Saran Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.196965"], ["updated_at", "2018-09-05 13:42:50.196965"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Clelia Parker"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Clelia Parker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.201406"], ["updated_at", "2018-09-05 13:42:50.201406"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Laticia Cartwright"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Laticia Cartwright"], ["name", "Tracee Von"], ["address", "Rosita Dicki"], ["created_at", "2018-09-05 13:42:50.205918"], ["updated_at", "2018-09-05 13:42:50.205918"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Terri Armstrong"], ["service_delivery_unit_id", 14], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Terri Armstrong"], ["name", "Reynaldo Bashirian"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 13:42:50.210556"], ["updated_at", "2018-09-05 13:42:50.210556"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Terri Armstrong"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Terri Armstrong"], ["name", "Reynaldo Bashirian"], ["description", "Default bundle for service 'Reynaldo Bashirian'"], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 13:42:50.215647"], ["updated_at", "2018-09-05 13:42:50.215647"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 15], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Ollie Buckridge"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Tonette Hessel"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ollie Buckridge"], ["name", "Tonette Hessel"], ["description", "Consequatur amet velit dolor suscipit vel accusantium. Ea sunt consequuntur perferendis fuga quis officia totam. Aut nihil voluptates veniam quo voluptatibus perspiciatis suscipit distinctio."], ["created_at", "2018-09-05 13:42:50.225524"], ["updated_at", "2018-09-05 13:42:50.225524"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Erminia Ward"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ferdinand Mosciski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.5ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Erminia Ward"], ["name", "Ferdinand Mosciski"], ["description", "Voluptates eius incidunt suscipit libero inventore voluptatem omnis. Asperiores voluptatem doloremque quo recusandae ut. Est assumenda at odit asperiores. Illum ipsa quas ipsam reprehenderit ut repellendus. Aut cumque omnis assumenda eaque."], ["equipment_type_id", 3], ["created_at", "2018-09-05 13:42:50.231618"], ["updated_at", "2018-09-05 13:42:50.231618"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Gerard Bartoletti"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Gerard Bartoletti"], ["name", "Ayesha Spencer"], ["description", "Chan Klocko"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 13:42:50.238212"], ["updated_at", "2018-09-05 13:42:50.238212"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Elida Beier"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Ethelyn Shields"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.5ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elida Beier"], ["name", "Ethelyn Shields"], ["description", "Celestine Rath"], ["created_at", "2018-09-05 13:42:50.244826"], ["updated_at", "2018-09-05 13:42:50.244826"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marna Windler"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Marna Windler"], ["name", "Elois Boehm"], ["location_type_id", 3], ["description", "Virgil Kuhn"], ["address", "Essie Torphy"], ["created_at", "2018-09-05 13:42:50.251194"], ["updated_at", "2018-09-05 13:42:50.251194"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Dannette Cremin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lang Robel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Dannette Cremin"], ["name", "Jeannie Hilll"], ["description", "Chara Collins"], ["serial_number", "Lang Robel"], ["brand", "Colton Halvorson"], ["item_model", "Courtney Luettgen"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 13:42:50.257763"], ["updated_at", "2018-09-05 13:42:50.257763"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Santina Fahey"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Josue Dicki"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Santina Fahey"], ["name", "Josue Dicki"], ["description", "Quos officia quisquam architecto provident voluptates ut sit quia. Sunt asperiores id incidunt possimus. Nulla corrupti impedit autem ducimus sed amet."], ["created_at", "2018-09-05 13:42:50.266755"], ["updated_at", "2018-09-05 13:42:50.266755"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Hugo Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Beatris Mann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Hugo Schroeder"], ["name", "Beatris Mann"], ["description", "Dolor voluptatibus totam vero corporis. Voluptatibus pariatur et possimus corrupti saepe accusamus animi. Dolores possimus id quia eveniet fugit. Eum assumenda sint facilis enim ea dolores exercitationem."], ["equipment_type_id", 4], ["created_at", "2018-09-05 13:42:50.272438"], ["updated_at", "2018-09-05 13:42:50.272438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Elfrieda Emmerich"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Elfrieda Emmerich"], ["name", "Jude Farrell"], ["description", "Jackqueline Casper"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 13:42:50.276840"], ["updated_at", "2018-09-05 13:42:50.276840"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Veda Will"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Danyel Stokes"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.6ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Veda Will"], ["name", "Danyel Stokes"], ["description", "Monty Johns"], ["created_at", "2018-09-05 13:42:50.283201"], ["updated_at", "2018-09-05 13:42:50.283201"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Ava Farrell"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Ava Farrell"], ["name", "Johnie Corwin"], ["location_type_id", 4], ["description", "Trinidad Waters"], ["address", "Alejandro Zulauf"], ["created_at", "2018-09-05 13:42:50.288661"], ["updated_at", "2018-09-05 13:42:50.288661"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Elenore Ullrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Jeanine Macejkovic"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Elenore Ullrich"], ["name", "Kiyoko Bashirian"], ["description", "Marnie Lowe"], ["serial_number", "Jeanine Macejkovic"], ["brand", "Domingo Doyle"], ["item_model", "Treva Lemke"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 13:42:50.294314"], ["updated_at", "2018-09-05 13:42:50.294314"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "erika_johns@leannon.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Octavia Stroman"], ["last_name", "Khadijah Huel"], ["email", "erika_johns@leannon.biz"], ["password_digest", "$2a$04$yAQYf1Akm8nnZksD3KEhKufEOGOBKp470aQSAbjmypggQL530nyK2"], ["created_at", "2018-09-05 13:42:50.301264"], ["updated_at", "2018-09-05 13:42:50.301264"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "patricia.kuhlman@faycorkery.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Nettie Flatley"], ["last_name", "Amada Nienow"], ["email", "patricia.kuhlman@faycorkery.name"], ["password_digest", "$2a$04$4q6y05Q4P8Bgnd.RPm8RW.T3Ox8REd50R6j6aGe15fsLSLbM7bCo."], ["created_at", "2018-09-05 13:42:50.308384"], ["updated_at", "2018-09-05 13:42:50.308384"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"19", "authorized_by"=>"Derick Reynolds", "authorized_on"=>"2018-09-05", "created_by_id"=>"18", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"14", "chargeable_service_name"=>"Reynaldo Bashirian", "equipment_item_id"=>"3", "equipment_item_name"=>"Kiyoko Bashirian", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Paulene Beer", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Paulene Beer"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Paulene Beer"], ["authorized_by", "Derick Reynolds"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"14\",\"chargeable_service_name\":\"Reynaldo Bashirian\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Kiyoko Bashirian\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 17], ["approved_by_id", 19], ["created_at", "2018-09-05 13:42:50.321509"], ["updated_at", "2018-09-05 13:42:50.321509"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.22ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 16ms (Views: 1.5ms | ActiveRecord: 7.5ms)  (1.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "melaine@wilkinson.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Mindi Wilkinson"], ["last_name", "Augustina Adams"], ["email", "melaine@wilkinson.name"], ["password_digest", "$2a$04$xBjdpij1RGhILBgwSjen0OmIIuVLEt1oJiLXAo7TQ/hSYe440ELZG"], ["created_at", "2018-09-05 13:42:50.338515"], ["updated_at", "2018-09-05 13:42:50.338515"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Damien Senger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Zachariah Nicolas"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Damien Senger"], ["name", "Zachariah Nicolas"], ["created_at", "2018-09-05 13:42:50.345288"], ["updated_at", "2018-09-05 13:42:50.345288"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Denae Grimes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Denae Grimes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.352049"], ["updated_at", "2018-09-05 13:42:50.352049"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Zelda Harris"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zelda Harris"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.358193"], ["updated_at", "2018-09-05 13:42:50.358193"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Brunilda Gutmann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brunilda Gutmann"], ["name", "Dustin Lebsack"], ["address", "Dinah Nicolas"], ["created_at", "2018-09-05 13:42:50.364754"], ["updated_at", "2018-09-05 13:42:50.364754"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sheryl Flatley"], ["service_delivery_unit_id", 15], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sheryl Flatley"], ["name", "Lanelle Hagenes"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 13:42:50.369448"], ["updated_at", "2018-09-05 13:42:50.369448"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sheryl Flatley"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sheryl Flatley"], ["name", "Lanelle Hagenes"], ["description", "Default bundle for service 'Lanelle Hagenes'"], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 13:42:50.374891"], ["updated_at", "2018-09-05 13:42:50.374891"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 16], ["chargeable_service_id", 16]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Max Mraz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karyl Crooks"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Max Mraz"], ["name", "Karyl Crooks"], ["created_at", "2018-09-05 13:42:50.383908"], ["updated_at", "2018-09-05 13:42:50.383908"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kisha Botsford"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kisha Botsford"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.388194"], ["updated_at", "2018-09-05 13:42:50.388194"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Fern Becker"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Fern Becker"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.393857"], ["updated_at", "2018-09-05 13:42:50.393857"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eilene Hackett"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eilene Hackett"], ["name", "Francoise Bergstrom"], ["address", "Allena Luettgen"], ["created_at", "2018-09-05 13:42:50.398646"], ["updated_at", "2018-09-05 13:42:50.398646"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Mitchell Robel"], ["service_delivery_unit_id", 16], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Mitchell Robel"], ["name", "Deanna Heidenreich"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 13:42:50.403564"], ["updated_at", "2018-09-05 13:42:50.403564"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Mitchell Robel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Mitchell Robel"], ["name", "Deanna Heidenreich"], ["description", "Default bundle for service 'Deanna Heidenreich'"], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 13:42:50.408366"], ["updated_at", "2018-09-05 13:42:50.408366"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 17], ["chargeable_service_id", 17]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Katina Heller"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Catherine Walsh"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Katina Heller"], ["name", "Catherine Walsh"], ["description", "Est laudantium quis repudiandae iusto placeat. Non possimus officia est magnam. Quis velit eos quae dolorem omnis. Quis dignissimos esse enim necessitatibus ratione. Voluptas enim debitis vitae non et eos quae."], ["created_at", "2018-09-05 13:42:50.417914"], ["updated_at", "2018-09-05 13:42:50.417914"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Letty Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Luisa Schultz"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Letty Hilpert"], ["name", "Luisa Schultz"], ["description", "Delectus ipsam error id quia fugit. Qui consequuntur quo doloremque nostrum repudiandae rerum cupiditate. Voluptas sint incidunt dolores velit."], ["equipment_type_id", 5], ["created_at", "2018-09-05 13:42:50.423509"], ["updated_at", "2018-09-05 13:42:50.423509"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Daria Bruen"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Daria Bruen"], ["name", "Patrice O'Hara"], ["description", "Arnoldo Leffler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 13:42:50.428031"], ["updated_at", "2018-09-05 13:42:50.428031"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Tonda Jacobi"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Sau Baumbach"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tonda Jacobi"], ["name", "Sau Baumbach"], ["description", "Berenice Sawayn"], ["created_at", "2018-09-05 13:42:50.434759"], ["updated_at", "2018-09-05 13:42:50.434759"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Kanisha Wilderman"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kanisha Wilderman"], ["name", "Kera Gorczany"], ["location_type_id", 5], ["description", "Angelika Kozey"], ["address", "Erin Luettgen"], ["created_at", "2018-09-05 13:42:50.439193"], ["updated_at", "2018-09-05 13:42:50.439193"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Devorah Lebsack"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Quintin Kuvalis"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Devorah Lebsack"], ["name", "Erin Legros"], ["description", "Twanda Quigley"], ["serial_number", "Quintin Kuvalis"], ["brand", "Korey Denesik"], ["item_model", "Jona Baumbach"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 13:42:50.445151"], ["updated_at", "2018-09-05 13:42:50.445151"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Angelica Tromp"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Page Gottlieb"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angelica Tromp"], ["name", "Page Gottlieb"], ["description", "Est incidunt quo veritatis libero voluptatibus. Praesentium hic qui reprehenderit eius voluptatibus est quo dicta. Omnis eius laboriosam veritatis quas maiores. Explicabo quia est provident quaerat ut et esse. Non est numquam officiis illum sed."], ["created_at", "2018-09-05 13:42:50.452738"], ["updated_at", "2018-09-05 13:42:50.452738"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Albert Howell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Charis Torphy"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.0ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Albert Howell"], ["name", "Charis Torphy"], ["description", "Quo dignissimos omnis porro sit aut quidem. Quis sapiente sunt pariatur est aperiam corporis atque voluptates. Vel nihil recusandae aut fugit officiis. Sunt dolorum voluptas dolores nobis sequi aut et provident. Velit in sunt ut sapiente omnis qui quis unde."], ["equipment_type_id", 6], ["created_at", "2018-09-05 13:42:50.458894"], ["updated_at", "2018-09-05 13:42:50.458894"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Franklin Metz"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Franklin Metz"], ["name", "Edith Hahn"], ["description", "Tish Quitzon"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 13:42:50.463718"], ["updated_at", "2018-09-05 13:42:50.463718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Avis Fisher"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jae Lesch"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Avis Fisher"], ["name", "Jae Lesch"], ["description", "Amee Welch"], ["created_at", "2018-09-05 13:42:50.470365"], ["updated_at", "2018-09-05 13:42:50.470365"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Sherman Mante"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sherman Mante"], ["name", "Felix Wolf"], ["location_type_id", 6], ["description", "Sandee Becker"], ["address", "Marlene Rodriguez"], ["created_at", "2018-09-05 13:42:50.474706"], ["updated_at", "2018-09-05 13:42:50.474706"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Vernie Kemmer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Maude Smith"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Vernie Kemmer"], ["name", "Nicol Huel"], ["description", "Ivy Mitchell"], ["serial_number", "Maude Smith"], ["brand", "Yong Collins"], ["item_model", "Verdell Walsh"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 13:42:50.480100"], ["updated_at", "2018-09-05 13:42:50.480100"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "daina@schmeler.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alva Glover"], ["last_name", "Ngan Jerde"], ["email", "daina@schmeler.biz"], ["password_digest", "$2a$04$VIzwz.ejrq.CHR2dgQwd4ulyZTtQ/ZHV1KRO2SUv3N7N7vqlm/wO."], ["created_at", "2018-09-05 13:42:50.486900"], ["updated_at", "2018-09-05 13:42:50.486900"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "julius@welchvonrueden.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Catalina Prosacco"], ["last_name", "Karima Davis"], ["email", "julius@welchvonrueden.us"], ["password_digest", "$2a$04$ivuTvx6n9xJxEnzxSRB0yOhT6wtog1afGjGmU7EXTRT5URXvT9b4m"], ["created_at", "2018-09-05 13:42:50.493713"], ["updated_at", "2018-09-05 13:42:50.493713"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"22", "authorized_by"=>"Rickey Stamm", "authorized_on"=>"2018-09-05", "created_by_id"=>"21", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"16", "chargeable_service_name"=>"Deanna Heidenreich", "equipment_item_id"=>"5", "equipment_item_name"=>"Nicol Huel", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", ""], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 4.0ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kasey.okuneva@watsicahammes.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kelvin Simonis"], ["last_name", "Brook Kunde"], ["email", "kasey.okuneva@watsicahammes.biz"], ["password_digest", "$2a$04$CotMXr2qLLD1UlTySrGVBOD/8mWI89eAf0S7Ff/7W5GUPMj2KNKta"], ["created_at", "2018-09-05 13:42:50.518562"], ["updated_at", "2018-09-05 13:42:50.518562"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "naomi@nader.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shakia Sauer"], ["last_name", "Xiao Raynor"], ["email", "naomi@nader.ca"], ["password_digest", "$2a$04$W/qGwUEpY7hE8hFIgcbTQucz5uMHLY53yqwd6k4V.bxuQGO5IT62C"], ["created_at", "2018-09-05 13:42:50.528576"], ["updated_at", "2018-09-05 13:42:50.528576"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "virgilio@russel.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ben Reynolds"], ["last_name", "Carrol Deckow"], ["email", "virgilio@russel.com"], ["password_digest", "$2a$04$u4.xOAxHfU7061tH49U6Eu6RgVNVktmfSBjHnYGWP/VSTaE6DDlwq"], ["created_at", "2018-09-05 13:42:50.535297"], ["updated_at", "2018-09-05 13:42:50.535297"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Jalisa Wyman"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Jalisa Wyman"], ["authorized_by", "Myesha Kreiger"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 24], ["approved_by_id", 25], ["created_at", "2018-09-05 13:42:50.540191"], ["updated_at", "2018-09-05 13:42:50.540191"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Kristopher Bayer"}, "id"=>"5"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.6ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Jalisa Wyman"], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Kristopher Bayer"], ["updated_at", "2018-09-05 13:42:50.551579"], ["id", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.21ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 5.9ms) Mks::Rate::RateChangeRequest Load (1.1ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tiara_damore@ondricka.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rickie Schaden"], ["last_name", "Keila Koepp"], ["email", "tiara_damore@ondricka.com"], ["password_digest", "$2a$04$vqZEATBSmwQjXxPJWUL9jOgTcr70SsGLuo/24Nut91uLpTRHtNJwy"], ["created_at", "2018-09-05 13:42:50.567445"], ["updated_at", "2018-09-05 13:42:50.567445"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "elayne@schumm.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cari Schaefer"], ["last_name", "Janna Goodwin"], ["email", "elayne@schumm.us"], ["password_digest", "$2a$04$L5lMmTcd6cdm8u.eOijPuOugQAQ1F402DxvunideN82.4D9G9LVEu"], ["created_at", "2018-09-05 13:42:50.574366"], ["updated_at", "2018-09-05 13:42:50.574366"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "edyth@dubuque.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Theressa Sporer"], ["last_name", "Tilda Runolfsdottir"], ["email", "edyth@dubuque.info"], ["password_digest", "$2a$04$5Rhnpiya3voiDm8zmevttuHLzYByVKgZAv0bY3AG4sWTkkBUpIMTG"], ["created_at", "2018-09-05 13:42:50.580735"], ["updated_at", "2018-09-05 13:42:50.580735"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Shin Reichert"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Shin Reichert"], ["authorized_by", "Garfield Rogahn"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 27], ["approved_by_id", 28], ["created_at", "2018-09-05 13:42:50.586732"], ["updated_at", "2018-09-05 13:42:50.586732"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maya Nolan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Hubert Schmeler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maya Nolan"], ["name", "Hubert Schmeler"], ["created_at", "2018-09-05 13:42:50.597727"], ["updated_at", "2018-09-05 13:42:50.597727"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Eldridge Lebsack"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Eldridge Lebsack"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.605740"], ["updated_at", "2018-09-05 13:42:50.605740"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Georgann Hickle"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Georgann Hickle"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.610744"], ["updated_at", "2018-09-05 13:42:50.610744"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Julieann Kassulke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Julieann Kassulke"], ["name", "Shanel Batz"], ["address", "Mervin Leffler"], ["created_at", "2018-09-05 13:42:50.615367"], ["updated_at", "2018-09-05 13:42:50.615367"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Hunter Huel"], ["service_delivery_unit_id", 17], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Hunter Huel"], ["name", "Junior Wilderman"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 13:42:50.619815"], ["updated_at", "2018-09-05 13:42:50.619815"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Hunter Huel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Hunter Huel"], ["name", "Junior Wilderman"], ["description", "Default bundle for service 'Junior Wilderman'"], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 13:42:50.624906"], ["updated_at", "2018-09-05 13:42:50.624906"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 18], ["chargeable_service_id", 18]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Effie Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Flavia Mante"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Effie Waelchi"], ["name", "Flavia Mante"], ["created_at", "2018-09-05 13:42:50.633836"], ["updated_at", "2018-09-05 13:42:50.633836"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gabriel Stokes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gabriel Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.638749"], ["updated_at", "2018-09-05 13:42:50.638749"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Joeann Emard"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Joeann Emard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.643444"], ["updated_at", "2018-09-05 13:42:50.643444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Fidel Lindgren"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Fidel Lindgren"], ["name", "Fernando Kutch"], ["address", "Jacquelyn Mayer"], ["created_at", "2018-09-05 13:42:50.648405"], ["updated_at", "2018-09-05 13:42:50.648405"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Robby Abbott"], ["service_delivery_unit_id", 18], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Robby Abbott"], ["name", "Stevie Tromp"], ["service_type_id", 20], ["base_unit_id", 39], ["utilization_unit_id", 40], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 13:42:50.653397"], ["updated_at", "2018-09-05 13:42:50.653397"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Robby Abbott"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Robby Abbott"], ["name", "Stevie Tromp"], ["description", "Default bundle for service 'Stevie Tromp'"], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 13:42:50.658573"], ["updated_at", "2018-09-05 13:42:50.658573"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 19], ["chargeable_service_id", 19]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Faustina Borer"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ingrid Parker"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Faustina Borer"], ["name", "Ingrid Parker"], ["description", "Corrupti iusto molestiae dicta repellendus quidem consequuntur unde. Pariatur est molestias sunt voluptatem alias qui dolores. Eum error et quidem debitis eveniet nihil impedit ipsa."], ["created_at", "2018-09-05 13:42:50.669551"], ["updated_at", "2018-09-05 13:42:50.669551"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gene Miller"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Branden Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gene Miller"], ["name", "Branden Schroeder"], ["description", "Placeat dolore sit dolorum corrupti maxime atque aut voluptatum. Est ab et recusandae qui consequuntur tempora et. Corporis quibusdam similique voluptate nihil. Sit non quidem facilis nam reiciendis quam provident."], ["equipment_type_id", 7], ["created_at", "2018-09-05 13:42:50.675262"], ["updated_at", "2018-09-05 13:42:50.675262"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Luanne Corwin"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Luanne Corwin"], ["name", "Birgit Lakin"], ["description", "Jaime Kling"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 13:42:50.680057"], ["updated_at", "2018-09-05 13:42:50.680057"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Titus Ziemann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Loreen Denesik"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Titus Ziemann"], ["name", "Loreen Denesik"], ["description", "Alexandria Cassin"], ["created_at", "2018-09-05 13:42:50.686427"], ["updated_at", "2018-09-05 13:42:50.686427"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Maida Simonis"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Maida Simonis"], ["name", "Shantay Rodriguez"], ["location_type_id", 7], ["description", "Sheri Heidenreich"], ["address", "Evonne Dickinson"], ["created_at", "2018-09-05 13:42:50.690711"], ["updated_at", "2018-09-05 13:42:50.690711"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Horace Klein"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Dulcie Block"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Horace Klein"], ["name", "Dann Bednar"], ["description", "Karren Murphy"], ["serial_number", "Dulcie Block"], ["brand", "Bud Hartmann"], ["item_model", "Alva Thompson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 13:42:50.696495"], ["updated_at", "2018-09-05 13:42:50.696495"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Lacy Anderson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gabriel O'Hara"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lacy Anderson"], ["name", "Gabriel O'Hara"], ["description", "Maiores reiciendis facilis praesentium enim accusamus aut. Et blanditiis ut dolorum ut est eveniet. Quo omnis illo sed maxime."], ["created_at", "2018-09-05 13:42:50.704057"], ["updated_at", "2018-09-05 13:42:50.704057"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gladis Crooks"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Lia Satterfield"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.7ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gladis Crooks"], ["name", "Lia Satterfield"], ["description", "Libero omnis quidem pariatur facere non aspernatur dolorum soluta. Et saepe aperiam vitae culpa. Accusamus in atque quo consequatur aliquid culpa qui debitis. Et sunt esse labore id dolorem quod. Voluptas tempora sed dolorem facere libero."], ["equipment_type_id", 8], ["created_at", "2018-09-05 13:42:50.709472"], ["updated_at", "2018-09-05 13:42:50.709472"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lita Kulas"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lita Kulas"], ["name", "Marvel Botsford"], ["description", "Maire Leffler"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 13:42:50.714007"], ["updated_at", "2018-09-05 13:42:50.714007"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Donnie Armstrong"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Majorie Schiller"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Donnie Armstrong"], ["name", "Majorie Schiller"], ["description", "Damien Stoltenberg"], ["created_at", "2018-09-05 13:42:50.720118"], ["updated_at", "2018-09-05 13:42:50.720118"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Malisa Hermann"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Malisa Hermann"], ["name", "Lyndon Kertzmann"], ["location_type_id", 8], ["description", "Debroah Rogahn"], ["address", "Leonard Raynor"], ["created_at", "2018-09-05 13:42:50.724851"], ["updated_at", "2018-09-05 13:42:50.724851"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Karyl Orn"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Linda Sanford"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Karyl Orn"], ["name", "Shawanna Waters"], ["description", "Ardath Wisozk"], ["serial_number", "Linda Sanford"], ["brand", "Mildred Purdy"], ["item_model", "Nikita Harvey"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 13:42:50.731002"], ["updated_at", "2018-09-05 13:42:50.731002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tana@skiles.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Idella Wiza"], ["last_name", "Lavern Fahey"], ["email", "tana@skiles.biz"], ["password_digest", "$2a$04$Ov5K5Z9spnosjAqTayqIb.Chp5mca9DcCqfoVUcpuF1MRgPBQ1wTG"], ["created_at", "2018-09-05 13:42:50.738074"], ["updated_at", "2018-09-05 13:42:50.738074"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "eloy@kuvalis.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lilian Farrell"], ["last_name", "Marielle Schmeler"], ["email", "eloy@kuvalis.name"], ["password_digest", "$2a$04$tEVKdxXmOsNhAEdU5aJcK.WeOB5Zuz/7Vj3s0e2J7MQsGylg2lAY6"], ["created_at", "2018-09-05 13:42:50.744584"], ["updated_at", "2018-09-05 13:42:50.744584"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"30", "authorized_by"=>"Rochell Schinner", "authorized_on"=>"2018-09-05", "created_by_id"=>"29", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"18", "chargeable_service_name"=>"Stevie Tromp", "equipment_item_id"=>"7", "equipment_item_name"=>"Shawanna Waters", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Williams Predovic", "status"=>"SUBMITTED"}, "id"=>"6"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Williams Predovic"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "reference_number" = $1, "authorized_by" = $2, "created_by_id" = $3, "approved_by_id" = $4, "rates" = $5, "updated_at" = $6 WHERE "mks_rate_rate_change_requests"."id" = $7 [["reference_number", "Williams Predovic"], ["authorized_by", "Rochell Schinner"], ["created_by_id", 29], ["approved_by_id", 30], ["rates", "[{\"chargeable_service_id\":\"18\",\"chargeable_service_name\":\"Stevie Tromp\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Shawanna Waters\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 13:42:50.757027"], ["id", 6]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.21ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.36ms) Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 6.3ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jeanmarie@nicolas.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Dusty Wolff"], ["last_name", "Emely Jacobson"], ["email", "jeanmarie@nicolas.com"], ["password_digest", "$2a$04$4KwpTEcpUeNyOMQKZXUpEOwyCt5RdJSxbyd8NFKzIvLOWQMkBvZJG"], ["created_at", "2018-09-05 13:42:50.773811"], ["updated_at", "2018-09-05 13:42:50.773811"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "fran.marquardt@cruickshankleannon.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Betsy Abshire"], ["last_name", "Cheryll Barrows"], ["email", "fran.marquardt@cruickshankleannon.com"], ["password_digest", "$2a$04$lq0ogP40XPmKKJza0VDb1Ote9mvBsccy24rwnVVB9m.j1ZkBHrY8C"], ["created_at", "2018-09-05 13:42:50.783073"], ["updated_at", "2018-09-05 13:42:50.783073"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arthur_adams@murazik.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Celine Dietrich"], ["last_name", "Stanton Runte"], ["email", "arthur_adams@murazik.com"], ["password_digest", "$2a$04$i1XcxxDGR0Axm6vilpOSn.R6VLM7vPJRRAYujkuopTzduYF2B0fZO"], ["created_at", "2018-09-05 13:42:50.790502"], ["updated_at", "2018-09-05 13:42:50.790502"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cathy Christiansen"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (0.9ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Cathy Christiansen"], ["authorized_by", "Cammie Grimes"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 32], ["approved_by_id", 33], ["created_at", "2018-09-05 13:42:50.796766"], ["updated_at", "2018-09-05 13:42:50.796766"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Charlsie Wiza"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cristal Little"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Charlsie Wiza"], ["name", "Cristal Little"], ["created_at", "2018-09-05 13:42:50.803526"], ["updated_at", "2018-09-05 13:42:50.803526"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dewayne Howell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dewayne Howell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.808245"], ["updated_at", "2018-09-05 13:42:50.808245"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Violeta Hagenes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Violeta Hagenes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.813059"], ["updated_at", "2018-09-05 13:42:50.813059"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Maurice D'Amore"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maurice D'Amore"], ["name", "Raven Rosenbaum"], ["address", "Opal Daniel"], ["created_at", "2018-09-05 13:42:50.817892"], ["updated_at", "2018-09-05 13:42:50.817892"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Karoline Jacobs"], ["service_delivery_unit_id", 19], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Karoline Jacobs"], ["name", "Darrin Bosco"], ["service_type_id", 21], ["base_unit_id", 41], ["utilization_unit_id", 42], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 13:42:50.823191"], ["updated_at", "2018-09-05 13:42:50.823191"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Karoline Jacobs"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Karoline Jacobs"], ["name", "Darrin Bosco"], ["description", "Default bundle for service 'Darrin Bosco'"], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 13:42:50.828475"], ["updated_at", "2018-09-05 13:42:50.828475"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 20], ["chargeable_service_id", 20]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Dedra Douglas"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jana Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Dedra Douglas"], ["name", "Jana Goyette"], ["created_at", "2018-09-05 13:42:50.838127"], ["updated_at", "2018-09-05 13:42:50.838127"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Duncan Schamberger"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Duncan Schamberger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.842941"], ["updated_at", "2018-09-05 13:42:50.842941"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kallie Powlowski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kallie Powlowski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:50.847746"], ["updated_at", "2018-09-05 13:42:50.847746"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eladia Ledner"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eladia Ledner"], ["name", "Yer VonRueden"], ["address", "Althea Wilderman"], ["created_at", "2018-09-05 13:42:50.852947"], ["updated_at", "2018-09-05 13:42:50.852947"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Myrtice Klocko"], ["service_delivery_unit_id", 20], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Myrtice Klocko"], ["name", "Corinne Gleichner"], ["service_type_id", 22], ["base_unit_id", 43], ["utilization_unit_id", 44], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 13:42:50.857662"], ["updated_at", "2018-09-05 13:42:50.857662"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Myrtice Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Myrtice Klocko"], ["name", "Corinne Gleichner"], ["description", "Default bundle for service 'Corinne Gleichner'"], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 13:42:50.862697"], ["updated_at", "2018-09-05 13:42:50.862697"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 21], ["chargeable_service_id", 21]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Nicki Boehm"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Hipolito Kub"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicki Boehm"], ["name", "Hipolito Kub"], ["description", "Asperiores nam eligendi et enim illo eum et. Dolores velit dignissimos recusandae porro. Cum saepe consequatur nisi qui."], ["created_at", "2018-09-05 13:42:50.873518"], ["updated_at", "2018-09-05 13:42:50.873518"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Tonja Lindgren"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Marin Williamson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Tonja Lindgren"], ["name", "Marin Williamson"], ["description", "Officiis sint repellendus nemo voluptas ipsam. Similique libero veritatis earum reprehenderit occaecati dolorem sit. Dignissimos voluptatem sunt voluptatem aliquid est esse quam eum. Et sed explicabo voluptatem laudantium distinctio ut."], ["equipment_type_id", 9], ["created_at", "2018-09-05 13:42:50.879194"], ["updated_at", "2018-09-05 13:42:50.879194"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jennifer Grant"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jennifer Grant"], ["name", "Katheryn Balistreri"], ["description", "Tama Glover"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 13:42:50.883975"], ["updated_at", "2018-09-05 13:42:50.883975"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Shanae Wisozk"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Adelaide Schuster"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shanae Wisozk"], ["name", "Adelaide Schuster"], ["description", "Natisha Dooley"], ["created_at", "2018-09-05 13:42:50.890448"], ["updated_at", "2018-09-05 13:42:50.890448"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Alberta Reynolds"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Alberta Reynolds"], ["name", "Denis Huel"], ["location_type_id", 9], ["description", "Hildred Thiel"], ["address", "Tiesha Hirthe"], ["created_at", "2018-09-05 13:42:50.894868"], ["updated_at", "2018-09-05 13:42:50.894868"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Sydney Miller"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tori VonRueden"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Sydney Miller"], ["name", "Etta Weber"], ["description", "Cristen Murray"], ["serial_number", "Tori VonRueden"], ["brand", "Krysta Gleason"], ["item_model", "Jerilyn Huel"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 13:42:50.900989"], ["updated_at", "2018-09-05 13:42:50.900989"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Janella Cassin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Courtney Rohan"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Janella Cassin"], ["name", "Courtney Rohan"], ["description", "Maxime accusamus aut autem voluptates. Similique laboriosam iste sit et eius ut est sequi. Dolor et recusandae expedita sunt ut laboriosam aut. Neque reiciendis provident earum deleniti nemo dolores soluta et."], ["created_at", "2018-09-05 13:42:50.908270"], ["updated_at", "2018-09-05 13:42:50.908270"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Jenelle Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ian Lind"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jenelle Hilpert"], ["name", "Ian Lind"], ["description", "Inventore rerum est quo expedita consequatur animi. Eveniet nam molestiae et sint ad. Temporibus in nobis nam similique."], ["equipment_type_id", 10], ["created_at", "2018-09-05 13:42:50.913798"], ["updated_at", "2018-09-05 13:42:50.913798"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sixta Mante"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sixta Mante"], ["name", "Inez Fahey"], ["description", "Casimira Glover"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 13:42:50.918288"], ["updated_at", "2018-09-05 13:42:50.918288"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Christian Will"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jennifer Cronin"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Christian Will"], ["name", "Jennifer Cronin"], ["description", "Forest Lynch"], ["created_at", "2018-09-05 13:42:50.924471"], ["updated_at", "2018-09-05 13:42:50.924471"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Simone Carroll"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Simone Carroll"], ["name", "Isaiah Yundt"], ["location_type_id", 10], ["description", "Gudrun Bergnaum"], ["address", "Paola Hagenes"], ["created_at", "2018-09-05 13:42:50.928949"], ["updated_at", "2018-09-05 13:42:50.928949"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Eleonore Hand"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Marci Parisian"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Eleonore Hand"], ["name", "Oliver Kuhlman"], ["description", "Hugo Brekke"], ["serial_number", "Marci Parisian"], ["brand", "Tiffiny Pfeffer"], ["item_model", "Marry Kuhic"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 13:42:50.934701"], ["updated_at", "2018-09-05 13:42:50.934701"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jasmin_yundt@windler.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Louise Legros"], ["last_name", "Betsey Gerlach"], ["email", "jasmin_yundt@windler.info"], ["password_digest", "$2a$04$.Xm15.6.DUzrVqOOdO8gouGPdCu1xDZWmr3wznFiMySjNAQ00XtBW"], ["created_at", "2018-09-05 13:42:50.941654"], ["updated_at", "2018-09-05 13:42:50.941654"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lashanda@harber.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Gertrude Wisoky"], ["last_name", "Clarice Hickle"], ["email", "lashanda@harber.ca"], ["password_digest", "$2a$04$NpyymlfIIGDEx.hudSC2cOeaQPY6gC79.hJAikxQ7W1CNDta52P9a"], ["created_at", "2018-09-05 13:42:50.948115"], ["updated_at", "2018-09-05 13:42:50.948115"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"35", "authorized_by"=>"Farrah Braun", "authorized_on"=>"2018-09-05", "created_by_id"=>"34", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"20", "chargeable_service_name"=>"Corinne Gleichner", "equipment_item_id"=>"9", "equipment_item_name"=>"Oliver Kuhlman", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}, "id"=>"7"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 12ms (Views: 1.2ms | ActiveRecord: 5.2ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "britt_jenkins@ward.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Yang Cummings"], ["last_name", "Lillie West"], ["email", "britt_jenkins@ward.name"], ["password_digest", "$2a$04$sngJ7X.EIxRi9ZdAEOjCBeuTw04GbF09XD46JokXqZVf589xiPXAy"], ["created_at", "2018-09-05 13:42:50.972686"], ["updated_at", "2018-09-05 13:42:50.972686"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mikaela Funk"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mikaela Funk"], ["name", "Cora Ebert"], ["address", "Kyoko Aufderhar"], ["created_at", "2018-09-05 13:42:50.981357"], ["updated_at", "2018-09-05 13:42:50.981357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elina Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Elina Bernhard"], ["name", "Larissa White"], ["description", "Gia Schmidt"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 13:42:50.990316"], ["updated_at", "2018-09-05 13:42:50.990316"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.18ms) Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 3.0ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kasandra@volkman.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shoshana Greenholt"], ["last_name", "Lashell Collins"], ["email", "kasandra@volkman.com"], ["password_digest", "$2a$04$M.IEX3xZKeOlutW5ezM4fe3cK0pGVKmCFqkDttW5FyrSzIu26HPSe"], ["created_at", "2018-09-05 13:42:51.012757"], ["updated_at", "2018-09-05 13:42:51.012757"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Shirly Dibbert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shirly Dibbert"], ["name", "Cinda O'Reilly"], ["address", "Shaneka Marquardt"], ["created_at", "2018-09-05 13:42:51.017795"], ["updated_at", "2018-09-05 13:42:51.017795"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Amira Bogan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Amira Bogan"], ["name", "Clark Homenick"], ["description", "Jama Schaden"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.023543"], ["updated_at", "2018-09-05 13:42:51.023543"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tarsha Tremblay"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tarsha Tremblay"], ["name", "Vicente O'Reilly"], ["description", "Emilie Hodkiewicz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.030202"], ["updated_at", "2018-09-05 13:42:51.030202"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nick Toy"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nick Toy"], ["name", "Felecia Stamm"], ["description", "Janessa Goldner"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 13:42:51.036517"], ["updated_at", "2018-09-05 13:42:51.036517"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 22]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.3ms) Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 4.4ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vernita_moen@tremblay.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Na Simonis"], ["last_name", "Terrell Beier"], ["email", "vernita_moen@tremblay.com"], ["password_digest", "$2a$04$HLD.riDIVoqh7VKsx8pyGOUlWFpJRrgTPFUt7Gd3PabEpaR1x.u6m"], ["created_at", "2018-09-05 13:42:51.058960"], ["updated_at", "2018-09-05 13:42:51.058960"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Windy Schmidt"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Windy Schmidt"], ["name", "Ofelia Roberts"], ["address", "Nadine Hyatt"], ["created_at", "2018-09-05 13:42:51.064243"], ["updated_at", "2018-09-05 13:42:51.064243"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Darcel Cremin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Darcel Cremin"], ["name", "Eileen Wintheiser"], ["description", "Iliana Kassulke"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.072871"], ["updated_at", "2018-09-05 13:42:51.072871"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tami Kemmer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.4ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tami Kemmer"], ["name", "Karina Brakus"], ["description", "Lindsy Skiles"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.081177"], ["updated_at", "2018-09-05 13:42:51.081177"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Zoraida Gutmann"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Zoraida Gutmann"], ["name", "Donovan Hermann"], ["description", "Gilberte Moore"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 13:42:51.088378"], ["updated_at", "2018-09-05 13:42:51.088378"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Stephen Smith"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stephen Smith"], ["name", "Xzbdulia Price"], ["address", "Kevin Schaden"], ["created_at", "2018-09-05 13:42:51.093649"], ["updated_at", "2018-09-05 13:42:51.093649"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cornell Cummerata"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Cornell Cummerata"], ["name", "Mara Ritchie"], ["description", "Marlin Effertz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-09-05 13:42:51.100444"], ["updated_at", "2018-09-05 13:42:51.100444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Merideth O'Keefe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Merideth O'Keefe"], ["name", "Justine Moore"], ["address", "Zola Gaylord"], ["created_at", "2018-09-05 13:42:51.105401"], ["updated_at", "2018-09-05 13:42:51.105401"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Son Jast"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Son Jast"], ["name", "Barbie Braun"], ["description", "Jacalyn Krajcik"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 13:42:51.109819"], ["updated_at", "2018-09-05 13:42:51.109819"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Martine Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Martine Doyle"], ["name", "Natisha Russel"], ["address", "Mike Leuschke"], ["created_at", "2018-09-05 13:42:51.114809"], ["updated_at", "2018-09-05 13:42:51.114809"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Irina Farrell"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Irina Farrell"], ["name", "Adelaida Labadie"], ["description", "Farrah Walsh"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 13:42:51.118954"], ["updated_at", "2018-09-05 13:42:51.118954"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"23"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 23]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.5ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.21ms) Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 3.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "armand.rath@cormiercartwright.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Margy Abshire"], ["last_name", "Thu Klein"], ["email", "armand.rath@cormiercartwright.us"], ["password_digest", "$2a$04$cDXCwxyS0DelkxWTyptFA.XhkI5vmkKshMiRHN9Sgr0bSdcIERoA."], ["created_at", "2018-09-05 13:42:51.139965"], ["updated_at", "2018-09-05 13:42:51.139965"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Candelaria Ward"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Candelaria Ward"], ["name", "Marisa Raynor"], ["address", "Cecille Wolff"], ["created_at", "2018-09-05 13:42:51.147330"], ["updated_at", "2018-09-05 13:42:51.147330"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jeni Stracke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jeni Stracke"], ["name", "Julian Klocko"], ["description", "Marcelo Anderson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 13:42:51.152144"], ["updated_at", "2018-09-05 13:42:51.152144"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"32"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Auth::User Load (2.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (1.95ms) Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 4.4ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dalia@howegibson.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kirby Moen"], ["last_name", "Jordan Pfannerstill"], ["email", "dalia@howegibson.biz"], ["password_digest", "$2a$04$3aRFiwkGJJ86kAiEjZhRTeSbPWKOvVsdHT7OcdMSEJiaylXYwrGk6"], ["created_at", "2018-09-05 13:42:51.173885"], ["updated_at", "2018-09-05 13:42:51.173885"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Camila Satterfield"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Camila Satterfield"], ["name", "Tegan Powlowski"], ["address", "Clorinda Bergnaum"], ["created_at", "2018-09-05 13:42:51.180270"], ["updated_at", "2018-09-05 13:42:51.180270"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (7.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tawny Swaniawski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tawny Swaniawski"], ["name", "First Service Bundle"], ["description", "Lloyd Koelpin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 13:42:51.192357"], ["updated_at", "2018-09-05 13:42:51.192357"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ardith Schuppe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ardith Schuppe"], ["name", "Dessie Ritchie"], ["address", "Shon Tillman"], ["created_at", "2018-09-05 13:42:51.200466"], ["updated_at", "2018-09-05 13:42:51.200466"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donny Kilback"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Donny Kilback"], ["name", "Second Service Bundle"], ["description", "Jimmy Botsford"], ["percent_discount", 100.0], ["service_delivery_unit_id", 29], ["created_at", "2018-09-05 13:42:51.205704"], ["updated_at", "2018-09-05 13:42:51.205704"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.52ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 3.8ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%service%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.19ms) Completed 200 OK in 12ms (Views: 4.4ms | ActiveRecord: 10.0ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "gillian.collier@marvin.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Beatrice Cummerata"], ["last_name", "Willetta Wuckert"], ["email", "gillian.collier@marvin.ca"], ["password_digest", "$2a$04$IAgp6touBYa27Zvr7bWY2.oeBr2uTLk/uWg3nB7hXoEll4xIAyBOm"], ["created_at", "2018-09-05 13:42:51.241062"], ["updated_at", "2018-09-05 13:42:51.241062"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nguyet Kub"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nguyet Kub"], ["name", "Shaneka Braun"], ["address", "Albina Strosin"], ["created_at", "2018-09-05 13:42:51.246627"], ["updated_at", "2018-09-05 13:42:51.246627"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tish Hoppe"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tish Hoppe"], ["name", "FIRst Service Bundle"], ["description", "Glinda Langworth"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 13:42:51.251444"], ["updated_at", "2018-09-05 13:42:51.251444"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kari Batz"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kari Batz"], ["name", "Laurel Mosciski"], ["address", "Marleen Pouros"], ["created_at", "2018-09-05 13:42:51.258090"], ["updated_at", "2018-09-05 13:42:51.258090"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Delicia Emard"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Delicia Emard"], ["name", "Second Service Bundle for the firST time"], ["description", "Lyndon Paucek"], ["percent_discount", 100.0], ["service_delivery_unit_id", 31], ["created_at", "2018-09-05 13:42:51.268116"], ["updated_at", "2018-09-05 13:42:51.268116"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.0ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.5ms) Completed 200 OK in 11ms (Views: 4.1ms | ActiveRecord: 5.1ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "merrie@oreilly.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Berry Jenkins"], ["last_name", "Simona Hirthe"], ["email", "merrie@oreilly.name"], ["password_digest", "$2a$04$4eeoEnAZIzqPMZejMmqMI.OBg.MBKkQ2GgDincdBRyfVbL1GKG4Ya"], ["created_at", "2018-09-05 13:42:51.292909"], ["updated_at", "2018-09-05 13:42:51.292909"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Catherine Howe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Catherine Howe"], ["name", "Lilliam Gottlieb"], ["address", "Pilar Cummerata"], ["created_at", "2018-09-05 13:42:51.300176"], ["updated_at", "2018-09-05 13:42:51.300176"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Chana Hayes", "description"=>"Birgit Barrows", "name"=>"Alexander Bailey", "service_delivery_unit_id"=>"32"}} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chana Hayes"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Chana Hayes"], ["name", "Alexander Bailey"], ["description", "Birgit Barrows"], ["service_delivery_unit_id", 32], ["created_at", "2018-09-05 13:42:51.313070"], ["updated_at", "2018-09-05 13:42:51.313070"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 13ms (Views: 1.7ms | ActiveRecord: 6.5ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "horace@tremblay.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lon Hirthe"], ["last_name", "Kathlene Schowalter"], ["email", "horace@tremblay.ca"], ["password_digest", "$2a$04$lfFlnmwSENbL8S5tGn7RXec1cJL0EwcGRRHerOjgEdBVxUeUCjFtu"], ["created_at", "2018-09-05 13:42:51.327922"], ["updated_at", "2018-09-05 13:42:51.327922"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Shasta White"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shasta White"], ["name", "Tena Hackett"], ["address", "Joesph Schmitt"], ["created_at", "2018-09-05 13:42:51.335795"], ["updated_at", "2018-09-05 13:42:51.335795"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Fredrick Bednar", "description"=>"Moriah Mraz", "name"=>"Prudence Maggio", "service_delivery_unit_id"=>"33"}} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Fredrick Bednar"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Fredrick Bednar"], ["name", "Prudence Maggio"], ["description", "Moriah Mraz"], ["service_delivery_unit_id", 33], ["created_at", "2018-09-05 13:42:51.347172"], ["updated_at", "2018-09-05 13:42:51.347172"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.33ms) Completed 201 Created in 15ms (Views: 2.2ms | ActiveRecord: 7.3ms) Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "stevie_parker@considinebayer.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.6ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Warren Donnelly"], ["last_name", "Flavia Donnelly"], ["email", "stevie_parker@considinebayer.us"], ["password_digest", "$2a$04$V/ThJFCF4p94VFQqC7llcOfmsPOCrmrmnUXXr3NSxmAg5bzCjSC32"], ["created_at", "2018-09-05 13:42:51.366952"], ["updated_at", "2018-09-05 13:42:51.366952"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kacy Barton"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kacy Barton"], ["name", "Ma Eichmann"], ["address", "Ava Ruecker"], ["created_at", "2018-09-05 13:42:51.374583"], ["updated_at", "2018-09-05 13:42:51.374583"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Jeannie Kuvalis", "name"=>"Alleen Parker", "service_delivery_unit_id"=>"34"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.11ms) Completed 422 Unprocessable Entity in 14ms (Views: 6.2ms | ActiveRecord: 4.5ms)  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "karri_kris@hayeskris.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Mona Wiegand"], ["last_name", "Izola Klocko"], ["email", "karri_kris@hayeskris.co.uk"], ["password_digest", "$2a$04$bupgHbq2mcoYMGlSlt.2le0s00A1ZM65p2ClbiJb2CFZlr.C9yN0y"], ["created_at", "2018-09-05 13:42:51.403534"], ["updated_at", "2018-09-05 13:42:51.403534"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Hiram Rohan"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hiram Rohan"], ["name", "Joshua Hodkiewicz"], ["address", "Laverna Beahan"], ["created_at", "2018-09-05 13:42:51.422515"], ["updated_at", "2018-09-05 13:42:51.422515"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Anjanette Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Anjanette Skiles"], ["name", "Ronnie Stanton"], ["description", "Polly Rosenbaum"], ["percent_discount", 100.0], ["service_delivery_unit_id", 35], ["created_at", "2018-09-05 13:42:51.430095"], ["updated_at", "2018-09-05 13:42:51.430095"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lesia Metz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Elnora Hartmann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lesia Metz"], ["name", "Elnora Hartmann"], ["created_at", "2018-09-05 13:42:51.436367"], ["updated_at", "2018-09-05 13:42:51.436367"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sixta Walsh"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sixta Walsh"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.441361"], ["updated_at", "2018-09-05 13:42:51.441361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lonny Champlin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lonny Champlin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.445969"], ["updated_at", "2018-09-05 13:42:51.445969"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Felicidad Wiegand"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Felicidad Wiegand"], ["name", "Brandon Rowe"], ["address", "Clarine Huel"], ["created_at", "2018-09-05 13:42:51.450565"], ["updated_at", "2018-09-05 13:42:51.450565"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Ike Gleichner"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Ike Gleichner"], ["name", "Darryl Schumm"], ["service_type_id", 23], ["base_unit_id", 45], ["utilization_unit_id", 46], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 13:42:51.455349"], ["updated_at", "2018-09-05 13:42:51.455349"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ike Gleichner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Ike Gleichner"], ["name", "Darryl Schumm"], ["description", "Default bundle for service 'Darryl Schumm'"], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 13:42:51.460486"], ["updated_at", "2018-09-05 13:42:51.460486"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 40], ["chargeable_service_id", 22]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 39]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["22"], "id"=>"39"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.1ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 3.0ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "whitley@stroman.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Janina DuBuque"], ["last_name", "Anton Medhurst"], ["email", "whitley@stroman.biz"], ["password_digest", "$2a$04$Bp1AnvOJXDrv/vag/gm1fuDy7TvkwA6SuwSyrmi038J0fUL5fjmue"], ["created_at", "2018-09-05 13:42:51.492828"], ["updated_at", "2018-09-05 13:42:51.492828"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Meaghan Jakubowski"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Meaghan Jakubowski"], ["name", "Mike Rowe"], ["address", "Yan Jerde"], ["created_at", "2018-09-05 13:42:51.500491"], ["updated_at", "2018-09-05 13:42:51.500491"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lonny Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lonny Eichmann"], ["name", "Vida Osinski"], ["description", "Isaura Swaniawski"], ["percent_discount", 100.0], ["service_delivery_unit_id", 37], ["created_at", "2018-09-05 13:42:51.505505"], ["updated_at", "2018-09-05 13:42:51.505505"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Angela Russel"}, "id"=>"41"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Lonny Eichmann"], ["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.3ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Angela Russel"], ["updated_at", "2018-09-05 13:42:51.518250"], ["id", 41]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.25ms) Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 6.7ms) Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ashanti.hammes@okeefenitzsche.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Conrad Quitzon"], ["last_name", "Alyse Lowe"], ["email", "ashanti.hammes@okeefenitzsche.ca"], ["password_digest", "$2a$04$V9f9gz9vzRchwGCYPOwhbeGNg6fCc5A0IGhpPwgNe2nUad8WFCYGu"], ["created_at", "2018-09-05 13:42:51.533669"], ["updated_at", "2018-09-05 13:42:51.533669"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nguyet Koss"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nguyet Koss"], ["name", "Shanika Will"], ["address", "Roseanne Jacobi"], ["created_at", "2018-09-05 13:42:51.540195"], ["updated_at", "2018-09-05 13:42:51.540195"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Milagros Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Milagros Runolfsdottir"], ["name", "Lorenza Predovic"], ["description", "Lyndia Brakus"], ["percent_discount", 100.0], ["service_delivery_unit_id", 38], ["created_at", "2018-09-05 13:42:51.547960"], ["updated_at", "2018-09-05 13:42:51.547960"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Armando Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Armando Waelchi"], ["name", "Wendell Wehner"], ["address", "Zana Goodwin"], ["created_at", "2018-09-05 13:42:51.553219"], ["updated_at", "2018-09-05 13:42:51.553219"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Griselda Schaden", "description"=>"Raleigh Murazik", "name"=>"Annis Spencer", "service_delivery_unit_id"=>"39"}, "id"=>"42"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Griselda Schaden"], ["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.1ms) UPDATE "mks_rate_service_bundles" SET "code" = $1, "name" = $2, "description" = $3, "service_delivery_unit_id" = $4, "updated_at" = $5 WHERE "mks_rate_service_bundles"."id" = $6 [["code", "Griselda Schaden"], ["name", "Annis Spencer"], ["description", "Raleigh Murazik"], ["service_delivery_unit_id", 39], ["updated_at", "2018-09-05 13:42:51.564723"], ["id", 42]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.29ms) Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 6.3ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "mary_ward@kling.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Velvet Abernathy"], ["last_name", "Leola Kulas"], ["email", "mary_ward@kling.com"], ["password_digest", "$2a$04$b5PoAj3s0r0RPXCDlFc9aeaQj6tN2oUlKl8UJmYrIXdGVvJYtxDde"], ["created_at", "2018-09-05 13:42:51.577692"], ["updated_at", "2018-09-05 13:42:51.577692"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kaye Spencer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kaye Spencer"], ["name", "Eleonore Kling"], ["address", "Mazie Bednar"], ["created_at", "2018-09-05 13:42:51.583422"], ["updated_at", "2018-09-05 13:42:51.583422"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nila Ankunding"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.6ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nila Ankunding"], ["name", "Genny Reilly"], ["description", "Amiee Haley"], ["percent_discount", 100.0], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 13:42:51.591215"], ["updated_at", "2018-09-05 13:42:51.591215"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chere Breitenberg"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chere Breitenberg"], ["name", "Karena Crona"], ["address", "Latoyia Schumm"], ["created_at", "2018-09-05 13:42:51.598020"], ["updated_at", "2018-09-05 13:42:51.598020"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Lauryn Kessler", "name"=>"Gisele Cronin", "service_delivery_unit_id"=>"41"}, "id"=>"43"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", ""], ["id", 43], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.13ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.3ms | ActiveRecord: 6.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shantel@swiftwhite.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Renate Prosacco"], ["last_name", "Fabiola Lockman"], ["email", "shantel@swiftwhite.info"], ["password_digest", "$2a$04$0IOp.0y6RfGRcIu.CX6p4uCwlLTM/TcJ.QtsgKJD9IJz9.rGxeJn6"], ["created_at", "2018-09-05 13:42:51.623331"], ["updated_at", "2018-09-05 13:42:51.623331"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Wenona Borer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Wenona Borer"], ["name", "Ashli Ullrich"], ["address", "Judson Rempel"], ["created_at", "2018-09-05 13:42:51.629327"], ["updated_at", "2018-09-05 13:42:51.629327"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Stacy Macejkovic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Stacy Macejkovic"], ["name", "Ali Schowalter"], ["address", "Mickey Gorczany"], ["created_at", "2018-09-05 13:42:51.634752"], ["updated_at", "2018-09-05 13:42:51.634752"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Xuan Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Xuan Moen"], ["name", "Jeremy Bins"], ["address", "Evie Crist"], ["created_at", "2018-09-05 13:42:51.641014"], ["updated_at", "2018-09-05 13:42:51.641014"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceDeliveryUnit::ActiveRecord_Relation (0.61ms) Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 2.5ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lennie_huels@farrell.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Drema Hansen"], ["last_name", "Shelba Turner"], ["email", "lennie_huels@farrell.us"], ["password_digest", "$2a$04$83q/mTmLBi5F1hAijGxJnucbL3oJjzSpT11MpF4lWM2OvcW.3gVLC"], ["created_at", "2018-09-05 13:42:51.666066"], ["updated_at", "2018-09-05 13:42:51.666066"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Louanne Cassin", "code"=>"Carissa Bosco", "name"=>"Gwen Parker"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carissa Bosco"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carissa Bosco"], ["name", "Gwen Parker"], ["address", "Louanne Cassin"], ["created_at", "2018-09-05 13:42:51.675644"], ["updated_at", "2018-09-05 13:42:51.675644"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.36ms) Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 5.1ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jolie_prohaska@tillman.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lala Ebert"], ["last_name", "Laveta Predovic"], ["email", "jolie_prohaska@tillman.ca"], ["password_digest", "$2a$04$U6IYa8uM0sNoV22p0XCpx.Doq5.NsW/0AUMdF.knX83hNLhwUTPF2"], ["created_at", "2018-09-05 13:42:51.696143"], ["updated_at", "2018-09-05 13:42:51.696143"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Keneth Howell", "code"=>"Deb Parker", "name"=>"Stephania Schuppe"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Deb Parker"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Deb Parker"], ["name", "Stephania Schuppe"], ["address", "Keneth Howell"], ["created_at", "2018-09-05 13:42:51.705204"], ["updated_at", "2018-09-05 13:42:51.705204"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.18ms) Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.53ms) Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 6.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "season@klockojacobi.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Viva Wolf"], ["last_name", "Dawne Watsica"], ["email", "season@klockojacobi.name"], ["password_digest", "$2a$04$SqjYqD0pSgbgnRTMsrANCeAfMWAOo1qP6tkK75MTrV/DBSm.77ZVy"], ["created_at", "2018-09-05 13:42:51.722403"], ["updated_at", "2018-09-05 13:42:51.722403"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Cecil Botsford", "code"=>"", "name"=>"Myrtice Hamill"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "angella.mante@ziemann.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elvera Leffler"], ["last_name", "Josefine Gislason"], ["email", "angella.mante@ziemann.info"], ["password_digest", "$2a$04$Pawg7n/QvAX0kkp5COhiZOjRZaX26J8tRns/YU2PffiG42HZaAQka"], ["created_at", "2018-09-05 13:42:51.749506"], ["updated_at", "2018-09-05 13:42:51.749506"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mohammad Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mohammad Ebert"], ["name", "Argentina Rolfson"], ["address", "Ima Paucek"], ["created_at", "2018-09-05 13:42:51.757015"], ["updated_at", "2018-09-05 13:42:51.757015"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"47"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Mohammad Ebert"], ["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (1.0ms) UPDATE "mks_rate_service_delivery_units" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_delivery_units"."id" = $3 [["name", "Service delivery unit 1"], ["updated_at", "2018-09-05 13:42:51.768458"], ["id", 47]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.11ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 6.0ms) Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marcel@willms.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Donna Hyatt"], ["last_name", "Cornell McCullough"], ["email", "marcel@willms.us"], ["password_digest", "$2a$04$DFuw3ewY5IX2tgl.v8hjH./OGKgs8F8v.U1oF51Fb9ZPZkpElG6Ea"], ["created_at", "2018-09-05 13:42:51.783559"], ["updated_at", "2018-09-05 13:42:51.783559"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Juliann Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Juliann Lesch"], ["name", "Sindy Cronin"], ["address", "Shona Boyer"], ["created_at", "2018-09-05 13:42:51.791342"], ["updated_at", "2018-09-05 13:42:51.791342"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"} Mks::Auth::User Load (2.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Juliann Lesch"], ["id", 48], ["LIMIT", 1]]  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 422 Unprocessable Entity in 17ms (Views: 1.7ms | ActiveRecord: 8.2ms)  (1.1ms) ROLLBACK  (0.9ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "evan@kunde.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Anne Dicki"], ["last_name", "Ophelia Witting"], ["email", "evan@kunde.ca"], ["password_digest", "$2a$04$irfu669vEgu5fojO0DHrdepUNE40MgwsPtSl3kG2KdjxFBsZlGyPu"], ["created_at", "2018-09-05 13:42:51.825330"], ["updated_at", "2018-09-05 13:42:51.825330"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Emilia Rippin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Georgeanna Thompson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emilia Rippin"], ["name", "Georgeanna Thompson"], ["description", "Reprehenderit eaque minus et possimus perferendis ut sit itaque. Rem debitis voluptas quis dicta quia et ut. Aut autem adipisci dignissimos voluptas qui ea. Excepturi voluptas quisquam harum commodi ducimus et iure."], ["created_at", "2018-09-05 13:42:51.853615"], ["updated_at", "2018-09-05 13:42:51.853615"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Nena Smitham"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Genny Leuschke"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Nena Smitham"], ["name", "Genny Leuschke"], ["description", "Voluptatem dolores deserunt culpa soluta nemo velit. Aspernatur reiciendis repudiandae sit atque aut accusamus. Possimus aut eius minima alias harum in nemo quos."], ["equipment_type_id", 11], ["created_at", "2018-09-05 13:42:51.860420"], ["updated_at", "2018-09-05 13:42:51.860420"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jewel Muller"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jewel Muller"], ["name", "Jefferey Hane"], ["description", "Jannie Stehr"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 11], ["created_at", "2018-09-05 13:42:51.865614"], ["updated_at", "2018-09-05 13:42:51.865614"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Lenore Gulgowski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Elke Hirthe"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lenore Gulgowski"], ["name", "Elke Hirthe"], ["description", "Natashia Hackett"], ["created_at", "2018-09-05 13:42:51.872439"], ["updated_at", "2018-09-05 13:42:51.872439"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Eda Goyette"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Eda Goyette"], ["name", "Thanh Maggio"], ["location_type_id", 11], ["description", "Alissa Maggio"], ["address", "Grady Marks"], ["created_at", "2018-09-05 13:42:51.877165"], ["updated_at", "2018-09-05 13:42:51.877165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jerrell Schamberger"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Luann Brown"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Jerrell Schamberger"], ["name", "Allyn Casper"], ["description", "Jacqueline Gerhold"], ["serial_number", "Luann Brown"], ["brand", "Carson Greenholt"], ["item_model", "Angila Thompson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 11], ["current_location_id", 11], ["created_at", "2018-09-05 13:42:51.883670"], ["updated_at", "2018-09-05 13:42:51.883670"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gaye Bogan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Becki Rippin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gaye Bogan"], ["name", "Becki Rippin"], ["created_at", "2018-09-05 13:42:51.893163"], ["updated_at", "2018-09-05 13:42:51.893163"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sharie Weissnat"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sharie Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.898043"], ["updated_at", "2018-09-05 13:42:51.898043"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Roselle Wunsch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roselle Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.902439"], ["updated_at", "2018-09-05 13:42:51.902439"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tenisha Nienow"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tenisha Nienow"], ["name", "Michelina Blick"], ["address", "Audry Herman"], ["created_at", "2018-09-05 13:42:51.906832"], ["updated_at", "2018-09-05 13:42:51.906832"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Beverley Langosh"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Beverley Langosh"], ["name", "Ashly Erdman"], ["service_type_id", 24], ["base_unit_id", 47], ["utilization_unit_id", 48], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 13:42:51.911618"], ["updated_at", "2018-09-05 13:42:51.911618"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Beverley Langosh"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Beverley Langosh"], ["name", "Ashly Erdman"], ["description", "Default bundle for service 'Ashly Erdman'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 13:42:51.916806"], ["updated_at", "2018-09-05 13:42:51.916806"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 44], ["chargeable_service_id", 23]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.7ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 23], ["equipment_item_id", 11], ["created_at", "2018-09-05 13:42:51.924866"], ["updated_at", "2018-09-05 13:42:51.924866"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Clemencia Mertz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Glenna Hahn"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Clemencia Mertz"], ["name", "Glenna Hahn"], ["description", "Sit tenetur ducimus voluptatem iusto aperiam quia et. Sint et eos quae hic quo ut neque. Fugit reiciendis consequatur ipsa corporis molestiae omnis quae. Dolore aperiam expedita recusandae nihil nobis porro sit. Sed eligendi dignissimos quia minus et facilis laudantium mollitia."], ["created_at", "2018-09-05 13:42:51.933674"], ["updated_at", "2018-09-05 13:42:51.933674"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Misha Bartell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Darcie Heathcote"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Misha Bartell"], ["name", "Darcie Heathcote"], ["description", "Dolores facere magnam aliquam et. Autem nihil laboriosam possimus et. Saepe animi mollitia esse provident eos temporibus earum. Eos fugit libero optio repudiandae quae. Quo eum et voluptates iusto."], ["equipment_type_id", 12], ["created_at", "2018-09-05 13:42:51.938962"], ["updated_at", "2018-09-05 13:42:51.938962"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chanelle McLaughlin"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Chanelle McLaughlin"], ["name", "Bambi Quigley"], ["description", "Janell Schroeder"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 12], ["created_at", "2018-09-05 13:42:51.943517"], ["updated_at", "2018-09-05 13:42:51.943517"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Gregoria Johnson"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Rosalinda Willms"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gregoria Johnson"], ["name", "Rosalinda Willms"], ["description", "Will Wyman"], ["created_at", "2018-09-05 13:42:51.949725"], ["updated_at", "2018-09-05 13:42:51.949725"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Aleta Kunde"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.7ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Aleta Kunde"], ["name", "Mervin Bernier"], ["location_type_id", 12], ["description", "Haley Jewess"], ["address", "Sook Kreiger"], ["created_at", "2018-09-05 13:42:51.953813"], ["updated_at", "2018-09-05 13:42:51.953813"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Wade Ward"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lenita Ullrich"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Wade Ward"], ["name", "Lesley Hackett"], ["description", "Florentina Bartell"], ["serial_number", "Lenita Ullrich"], ["brand", "Leda Wiegand"], ["item_model", "Kenia Satterfield"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 12], ["current_location_id", 12], ["created_at", "2018-09-05 13:42:51.959522"], ["updated_at", "2018-09-05 13:42:51.959522"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leighann Langworth"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Latesha Waelchi"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leighann Langworth"], ["name", "Latesha Waelchi"], ["created_at", "2018-09-05 13:42:51.966424"], ["updated_at", "2018-09-05 13:42:51.966424"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Shalon Wolf"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shalon Wolf"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.971440"], ["updated_at", "2018-09-05 13:42:51.971440"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Holly Daniel"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Holly Daniel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:51.976065"], ["updated_at", "2018-09-05 13:42:51.976065"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chery Bruen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chery Bruen"], ["name", "Gudrun VonRueden"], ["address", "Rupert Weimann"], ["created_at", "2018-09-05 13:42:51.980944"], ["updated_at", "2018-09-05 13:42:51.980944"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Stormy Walker"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Stormy Walker"], ["name", "Donovan Beatty"], ["service_type_id", 25], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 13:42:51.985676"], ["updated_at", "2018-09-05 13:42:51.985676"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Stormy Walker"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Stormy Walker"], ["name", "Donovan Beatty"], ["description", "Default bundle for service 'Donovan Beatty'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 13:42:51.990911"], ["updated_at", "2018-09-05 13:42:51.990911"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 24], ["equipment_item_id", 12], ["created_at", "2018-09-05 13:42:51.997272"], ["updated_at", "2018-09-05 13:42:51.997272"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Ellie Romaguera"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Jami Legros"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ellie Romaguera"], ["name", "Jami Legros"], ["description", "Mollitia non accusamus voluptatum sunt. Magnam vero sed repudiandae deleniti. Placeat beatae consequatur minus ipsa."], ["created_at", "2018-09-05 13:42:52.004763"], ["updated_at", "2018-09-05 13:42:52.004763"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Andrew Feil"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Marc Spinka"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Andrew Feil"], ["name", "Marc Spinka"], ["description", "Quo quis ad sit amet odit. Iusto ut nam doloribus eos et. Odio sequi voluptatem dolores aut ratione libero."], ["equipment_type_id", 13], ["created_at", "2018-09-05 13:42:52.010237"], ["updated_at", "2018-09-05 13:42:52.010237"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chanelle Jerde"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Chanelle Jerde"], ["name", "Chere Wuckert"], ["description", "Jamey Lang"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 13], ["created_at", "2018-09-05 13:42:52.015048"], ["updated_at", "2018-09-05 13:42:52.015048"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Johnna Wiegand"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Julianne Renner"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Johnna Wiegand"], ["name", "Julianne Renner"], ["description", "Vincenzo Purdy"], ["created_at", "2018-09-05 13:42:52.021835"], ["updated_at", "2018-09-05 13:42:52.021835"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Henry Murray"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Henry Murray"], ["name", "Mercedes Dietrich"], ["location_type_id", 13], ["description", "Daniel Hackett"], ["address", "Roselle Nicolas"], ["created_at", "2018-09-05 13:42:52.026953"], ["updated_at", "2018-09-05 13:42:52.026953"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Buffy Wyman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Justa Gulgowski"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.8ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Buffy Wyman"], ["name", "Yan Nitzsche"], ["description", "Dreama Blick"], ["serial_number", "Justa Gulgowski"], ["brand", "Jonell Koss"], ["item_model", "Shanta Yundt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 13], ["current_location_id", 13], ["created_at", "2018-09-05 13:42:52.032952"], ["updated_at", "2018-09-05 13:42:52.032952"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Awilda McLaughlin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eden VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Awilda McLaughlin"], ["name", "Eden VonRueden"], ["created_at", "2018-09-05 13:42:52.040269"], ["updated_at", "2018-09-05 13:42:52.040269"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ned Funk"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ned Funk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.045412"], ["updated_at", "2018-09-05 13:42:52.045412"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Delphine D'Amore"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Delphine D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.050349"], ["updated_at", "2018-09-05 13:42:52.050349"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nohemi Price"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nohemi Price"], ["name", "Mikki Bartell"], ["address", "Gabrielle Bernier"], ["created_at", "2018-09-05 13:42:52.055307"], ["updated_at", "2018-09-05 13:42:52.055307"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Elia Thompson"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Elia Thompson"], ["name", "Hana Kuhlman"], ["service_type_id", 26], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 13:42:52.060030"], ["updated_at", "2018-09-05 13:42:52.060030"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elia Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Elia Thompson"], ["name", "Hana Kuhlman"], ["description", "Default bundle for service 'Hana Kuhlman'"], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 13:42:52.065672"], ["updated_at", "2018-09-05 13:42:52.065672"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 25]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 25], ["equipment_item_id", 13], ["created_at", "2018-09-05 13:42:52.072174"], ["updated_at", "2018-09-05 13:42:52.072174"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.1ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.11ms)  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.38ms) Completed 200 OK in 21ms (Views: 1.6ms | ActiveRecord: 8.6ms)  (1.3ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lauralee.doyle@beahanpagac.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Corene Hansen"], ["last_name", "Thomasena Hintz"], ["email", "lauralee.doyle@beahanpagac.info"], ["password_digest", "$2a$04$8s.bqsP3pSSlx5f/.xY2kuvTC3W.niOK4N/j1wcLwaK5c87IMI.4."], ["created_at", "2018-09-05 13:42:52.106979"], ["updated_at", "2018-09-05 13:42:52.106979"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Maple Bins"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ardelia Schinner"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maple Bins"], ["name", "Ardelia Schinner"], ["description", "Aperiam officiis sed accusantium ipsa eum fugiat. Aut molestiae rem possimus et dignissimos dolor. Et veritatis voluptatem nostrum provident blanditiis."], ["created_at", "2018-09-05 13:42:52.115546"], ["updated_at", "2018-09-05 13:42:52.115546"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kevin McGlynn"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Edwina Luettgen"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.1ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kevin McGlynn"], ["name", "Edwina Luettgen"], ["description", "Consectetur eum dolor ea dicta. Qui nam a non similique deserunt sunt et. Eligendi ducimus veritatis rerum quidem. Qui laboriosam nihil soluta a neque est nisi incidunt. Adipisci reprehenderit id voluptas repellat dignissimos."], ["equipment_type_id", 14], ["created_at", "2018-09-05 13:42:52.121048"], ["updated_at", "2018-09-05 13:42:52.121048"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Aleshia O'Conner"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.2ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Aleshia O'Conner"], ["name", "Shavonda Barton"], ["description", "Mose Upton"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 14], ["created_at", "2018-09-05 13:42:52.128190"], ["updated_at", "2018-09-05 13:42:52.128190"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Elizabet Bashirian"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jettie Collins"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Elizabet Bashirian"], ["name", "Jettie Collins"], ["description", "Anjanette Wilkinson"], ["created_at", "2018-09-05 13:42:52.135154"], ["updated_at", "2018-09-05 13:42:52.135154"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Carita Stoltenberg"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Carita Stoltenberg"], ["name", "Dede Bernier"], ["location_type_id", 14], ["description", "Elmer Hirthe"], ["address", "Santos Reynolds"], ["created_at", "2018-09-05 13:42:52.139615"], ["updated_at", "2018-09-05 13:42:52.139615"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jamika Stoltenberg"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Wilford Lind"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Jamika Stoltenberg"], ["name", "Tilda Bruen"], ["description", "Tisha Huel"], ["serial_number", "Wilford Lind"], ["brand", "Maryanna Bode"], ["item_model", "Ami Wunsch"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 14], ["current_location_id", 14], ["created_at", "2018-09-05 13:42:52.145330"], ["updated_at", "2018-09-05 13:42:52.145330"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shiela Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ji O'Kon"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shiela Thompson"], ["name", "Ji O'Kon"], ["created_at", "2018-09-05 13:42:52.152620"], ["updated_at", "2018-09-05 13:42:52.152620"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Pinkie Wisozk"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Pinkie Wisozk"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.157987"], ["updated_at", "2018-09-05 13:42:52.157987"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Nigel Ernser"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nigel Ernser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.162878"], ["updated_at", "2018-09-05 13:42:52.162878"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dann Johns"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dann Johns"], ["name", "Lucien Labadie"], ["address", "Elias Lubowitz"], ["created_at", "2018-09-05 13:42:52.167652"], ["updated_at", "2018-09-05 13:42:52.167652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Rex Koelpin"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Rex Koelpin"], ["name", "Clarita Schuppe"], ["service_type_id", 27], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 13:42:52.172555"], ["updated_at", "2018-09-05 13:42:52.172555"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rex Koelpin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Rex Koelpin"], ["name", "Clarita Schuppe"], ["description", "Default bundle for service 'Clarita Schuppe'"], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 13:42:52.177558"], ["updated_at", "2018-09-05 13:42:52.177558"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 26]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 26], ["equipment_item_id", 14], ["created_at", "2018-09-05 13:42:52.184095"], ["updated_at", "2018-09-05 13:42:52.184095"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Kelly Purdy"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gladys Cummings"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kelly Purdy"], ["name", "Gladys Cummings"], ["description", "Assumenda aliquam architecto qui omnis ut. Consectetur omnis facilis recusandae est expedita sit qui. Fugit ipsum corrupti est earum doloribus. Sint qui sed maxime non laborum consectetur."], ["created_at", "2018-09-05 13:42:52.192118"], ["updated_at", "2018-09-05 13:42:52.192118"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gwyneth Larson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Bertram Gleason"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gwyneth Larson"], ["name", "Bertram Gleason"], ["description", "Et reprehenderit adipisci dignissimos nobis. Occaecati perspiciatis sunt accusamus aliquid ex. Est at nulla soluta modi numquam eius neque quae."], ["equipment_type_id", 15], ["created_at", "2018-09-05 13:42:52.197758"], ["updated_at", "2018-09-05 13:42:52.197758"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Zula Senger"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Zula Senger"], ["name", "Concepcion Hodkiewicz"], ["description", "Rafaela Jaskolski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 15], ["created_at", "2018-09-05 13:42:52.202419"], ["updated_at", "2018-09-05 13:42:52.202419"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Lavelle Mann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Denisha Littel"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lavelle Mann"], ["name", "Denisha Littel"], ["description", "Brian Graham"], ["created_at", "2018-09-05 13:42:52.208764"], ["updated_at", "2018-09-05 13:42:52.208764"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Gilberto Aufderhar"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Gilberto Aufderhar"], ["name", "Sharmaine Kiehn"], ["location_type_id", 15], ["description", "Katia Beahan"], ["address", "Bruna Grant"], ["created_at", "2018-09-05 13:42:52.213413"], ["updated_at", "2018-09-05 13:42:52.213413"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Tiesha Christiansen"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Summer Spencer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Tiesha Christiansen"], ["name", "Santina Nader"], ["description", "Wendie Lynch"], ["serial_number", "Summer Spencer"], ["brand", "Etta McDermott"], ["item_model", "Naida Muller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 15], ["current_location_id", 15], ["created_at", "2018-09-05 13:42:52.219623"], ["updated_at", "2018-09-05 13:42:52.219623"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Vincenzo Herzog"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Dyan Dibbert"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Vincenzo Herzog"], ["name", "Dyan Dibbert"], ["created_at", "2018-09-05 13:42:52.226305"], ["updated_at", "2018-09-05 13:42:52.226305"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rob Stokes"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rob Stokes"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.232192"], ["updated_at", "2018-09-05 13:42:52.232192"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Brianna Conroy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brianna Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.240434"], ["updated_at", "2018-09-05 13:42:52.240434"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dominica VonRueden"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dominica VonRueden"], ["name", "Doreatha Jerde"], ["address", "Owen Marvin"], ["created_at", "2018-09-05 13:42:52.245658"], ["updated_at", "2018-09-05 13:42:52.245658"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Marshall Monahan"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Marshall Monahan"], ["name", "Lyle Ledner"], ["service_type_id", 28], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 13:42:52.250838"], ["updated_at", "2018-09-05 13:42:52.250838"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marshall Monahan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Marshall Monahan"], ["name", "Lyle Ledner"], ["description", "Default bundle for service 'Lyle Ledner'"], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 13:42:52.255801"], ["updated_at", "2018-09-05 13:42:52.255801"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 27]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 27], ["equipment_item_id", 15], ["created_at", "2018-09-05 13:42:52.262117"], ["updated_at", "2018-09-05 13:42:52.262117"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Arla Boyle"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Myrl Buckridge"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arla Boyle"], ["name", "Myrl Buckridge"], ["description", "Nesciunt omnis perferendis fugiat veniam et. Magni quam soluta voluptates hic rerum. Nihil eius excepturi eum quod. Nihil qui non eos possimus iusto natus. Quisquam qui rerum id aspernatur necessitatibus quia quod."], ["created_at", "2018-09-05 13:42:52.269792"], ["updated_at", "2018-09-05 13:42:52.269792"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Charmain Kohler"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Zelma Mayer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Charmain Kohler"], ["name", "Zelma Mayer"], ["description", "Id et ipsum vel sed non dolore quae. Quas ipsa doloremque non voluptas voluptatem facere. Odio laborum qui sapiente itaque consequatur est commodi."], ["equipment_type_id", 16], ["created_at", "2018-09-05 13:42:52.275892"], ["updated_at", "2018-09-05 13:42:52.275892"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Lola Hessel"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lola Hessel"], ["name", "Rickie Murray"], ["description", "Kacy Pfeffer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 16], ["created_at", "2018-09-05 13:42:52.280775"], ["updated_at", "2018-09-05 13:42:52.280775"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Titus Rosenbaum"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Fred Gleichner"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.2ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Titus Rosenbaum"], ["name", "Fred Gleichner"], ["description", "Melissia Schroeder"], ["created_at", "2018-09-05 13:42:52.287146"], ["updated_at", "2018-09-05 13:42:52.287146"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Sun Harvey"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sun Harvey"], ["name", "Allan Spencer"], ["location_type_id", 16], ["description", "Marty Rodriguez"], ["address", "Arletta Howell"], ["created_at", "2018-09-05 13:42:52.294920"], ["updated_at", "2018-09-05 13:42:52.294920"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Camilla Bahringer"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Scarlett Stroman"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Camilla Bahringer"], ["name", "Lawanda Goodwin"], ["description", "Kenna Hoeger"], ["serial_number", "Scarlett Stroman"], ["brand", "Mathew Rippin"], ["item_model", "Evelyne Feest"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 16], ["current_location_id", 16], ["created_at", "2018-09-05 13:42:52.301972"], ["updated_at", "2018-09-05 13:42:52.301972"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Deloris White"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Helena Jones"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Deloris White"], ["name", "Helena Jones"], ["created_at", "2018-09-05 13:42:52.309817"], ["updated_at", "2018-09-05 13:42:52.309817"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Darius Paucek"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darius Paucek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.315787"], ["updated_at", "2018-09-05 13:42:52.315787"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Derick Hartmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Derick Hartmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.321150"], ["updated_at", "2018-09-05 13:42:52.321150"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Yaeko Beahan"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yaeko Beahan"], ["name", "Dona Fay"], ["address", "Arturo Kunze"], ["created_at", "2018-09-05 13:42:52.326032"], ["updated_at", "2018-09-05 13:42:52.326032"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Leigha Schinner"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.6ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Leigha Schinner"], ["name", "Phuong Auer"], ["service_type_id", 29], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 13:42:52.331364"], ["updated_at", "2018-09-05 13:42:52.331364"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leigha Schinner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Leigha Schinner"], ["name", "Phuong Auer"], ["description", "Default bundle for service 'Phuong Auer'"], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 13:42:52.338817"], ["updated_at", "2018-09-05 13:42:52.338817"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 28]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.2ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 28], ["equipment_item_id", 16], ["created_at", "2018-09-05 13:42:52.346457"], ["updated_at", "2018-09-05 13:42:52.346457"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.9ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.6ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (13.49ms) Completed 200 OK in 21ms (Views: 9.0ms | ActiveRecord: 8.8ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tiffany.kuhlman@streichmcclure.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Daysi Casper"], ["last_name", "Zofia Hahn"], ["email", "tiffany.kuhlman@streichmcclure.info"], ["password_digest", "$2a$04$t6S/mMy2oE8zOXo1E0joK.BzHrGvpzMoWF5VQ.Q8T25Q06Rs1I6KW"], ["created_at", "2018-09-05 13:42:52.379269"], ["updated_at", "2018-09-05 13:42:52.379269"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Laverna Shanahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Myrl Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Laverna Shanahan"], ["name", "Myrl Bernhard"], ["created_at", "2018-09-05 13:42:52.387285"], ["updated_at", "2018-09-05 13:42:52.387285"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceType::ActiveRecord_Relation (0.27ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 2.2ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lamar.goldner@rodriguez.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Iluminada Cormier"], ["last_name", "China Bradtke"], ["email", "lamar.goldner@rodriguez.info"], ["password_digest", "$2a$04$xfP9DZOaHSDuTz8cpDq3JuvGUtlMrUQEZ4wDnvtsE9pnz8UqFrwda"], ["created_at", "2018-09-05 13:42:52.410777"], ["updated_at", "2018-09-05 13:42:52.410777"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Anibal Corkery"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Amber Cremin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Anibal Corkery"], ["name", "Amber Cremin"], ["created_at", "2018-09-05 13:42:52.417038"], ["updated_at", "2018-09-05 13:42:52.417038"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"31"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.41ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 2.0ms)  (0.8ms) ROLLBACK  (1.0ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "janina@hyattabbott.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Eloise Ebert"], ["last_name", "Karl Harber"], ["email", "janina@hyattabbott.co.uk"], ["password_digest", "$2a$04$C9ZtGGE/vMb00YqoxhPFluNukWkJPDKDyqcbEDc2GJQnGiHGhfVl6"], ["created_at", "2018-09-05 13:42:52.435638"], ["updated_at", "2018-09-05 13:42:52.435638"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lola Haag", "name"=>"Eden Fisher"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lola Haag"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eden Fisher"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lola Haag"], ["name", "Eden Fisher"], ["created_at", "2018-09-05 13:42:52.449234"], ["updated_at", "2018-09-05 13:42:52.449234"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.44ms) Completed 201 Created in 13ms (Views: 3.0ms | ActiveRecord: 5.8ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lieselotte_harris@rowe.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bettyann Hills"], ["last_name", "Merle Keeling"], ["email", "lieselotte_harris@rowe.info"], ["password_digest", "$2a$04$mt3ys/itdf2lTk8.5Gv8ROLoN2HXMIn0jlCvytHZ7/4gKZyeUqRyy"], ["created_at", "2018-09-05 13:42:52.467718"], ["updated_at", "2018-09-05 13:42:52.467718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Lona Mann", "name"=>"Ronald Daugherty"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lona Mann"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ronald Daugherty"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lona Mann"], ["name", "Ronald Daugherty"], ["created_at", "2018-09-05 13:42:52.478186"], ["updated_at", "2018-09-05 13:42:52.478186"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.26ms) Completed 201 Created in 13ms (Views: 1.7ms | ActiveRecord: 6.2ms) Mks::Rate::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "stuart@wunschbrakus.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Loren Wunsch"], ["last_name", "Sherie Welch"], ["email", "stuart@wunschbrakus.info"], ["password_digest", "$2a$04$SZk9KPB1dkIh/uPba2H4eeC0PpicFglM7.GA0wgUNbAu7Ak4lvkzS"], ["created_at", "2018-09-05 13:42:52.496445"], ["updated_at", "2018-09-05 13:42:52.496445"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Chet Hirthe"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]]  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chet Hirthe"], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "gena.lehner@gibson.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Tari Lehner"], ["last_name", "Gracie Abshire"], ["email", "gena.lehner@gibson.biz"], ["password_digest", "$2a$04$xZYFvqSTK4JH56DHbguEyuMrG3lLIOHNmXG6uauCpcai..eYXOI9q"], ["created_at", "2018-09-05 13:42:52.521676"], ["updated_at", "2018-09-05 13:42:52.521676"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jamey Greenfelder"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Edwin Corwin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jamey Greenfelder"], ["name", "Edwin Corwin"], ["created_at", "2018-09-05 13:42:52.530779"], ["updated_at", "2018-09-05 13:42:52.530779"]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Augustus Stark"}, "id"=>"34"} Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Jamey Greenfelder"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Augustus Stark"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.9ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Augustus Stark"], ["updated_at", "2018-09-05 13:42:52.547236"], ["id", 34]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.31ms) Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 6.9ms) Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "margert@roobschmeler.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Michael Morissette"], ["last_name", "Alysia Rogahn"], ["email", "margert@roobschmeler.us"], ["password_digest", "$2a$04$mNp3k0kU3wLovO6VXOjcaO/dxIb3okDHr/QwA5WdfEmpQzZoUmNmO"], ["created_at", "2018-09-05 13:42:52.561615"], ["updated_at", "2018-09-05 13:42:52.561615"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Idella Luettgen"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nila Armstrong"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Idella Luettgen"], ["name", "Nila Armstrong"], ["created_at", "2018-09-05 13:42:52.569703"], ["updated_at", "2018-09-05 13:42:52.569703"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Rosita Deckow", "name"=>"Gaylord Larson"}, "id"=>"35"} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Rosita Deckow"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Gaylord Larson"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Update (0.9ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Rosita Deckow"], ["name", "Gaylord Larson"], ["updated_at", "2018-09-05 13:42:52.583048"], ["id", 35]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.34ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 6.3ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "brianna_schmidt@cassin.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Sharyn Larson"], ["last_name", "Ela Zieme"], ["email", "brianna_schmidt@cassin.info"], ["password_digest", "$2a$04$VgksaDzXbj4fYX0t5Y72husG4opO5o5pp5axg.rKYJJS6pxCye2dy"], ["created_at", "2018-09-05 13:42:52.596576"], ["updated_at", "2018-09-05 13:42:52.596576"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Casey Stokes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nicolle Goldner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Casey Stokes"], ["name", "Nicolle Goldner"], ["created_at", "2018-09-05 13:42:52.604897"], ["updated_at", "2018-09-05 13:42:52.604897"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Corey Pacocha"}, "id"=>"36"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Corey Pacocha"], ["id", 36], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.08ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.3ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "deon_kihn@oreillymonahan.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Albina McDermott"], ["last_name", "Eleanora Maggio"], ["email", "deon_kihn@oreillymonahan.ca"], ["password_digest", "$2a$04$uavTe0ibNOnUEvHO9qxa5eCsLcJAypGB0P3zweQEwlU/cCv.4yFFi"], ["created_at", "2018-09-05 13:42:52.627566"], ["updated_at", "2018-09-05 13:42:52.627566"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rico Wunsch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rico Wunsch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.633068"], ["updated_at", "2018-09-05 13:42:52.633068"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Calandra Ankunding"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Calandra Ankunding"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.638282"], ["updated_at", "2018-09-05 13:42:52.638282"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jaime Pacocha"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jaime Pacocha"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.644242"], ["updated_at", "2018-09-05 13:42:52.644242"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#index as HTML Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] No serializer found for resource: #"float", "day"=>"float"}, created_at: "2018-09-05 13:42:52", updated_at: "2018-09-05 13:42:52"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.32ms)  (1.2ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.49ms) Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Arnetta Sauer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lila Keeling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arnetta Sauer"], ["name", "Lila Keeling"], ["created_at", "2018-09-05 13:42:52.670748"], ["updated_at", "2018-09-05 13:42:52.670748"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mikaela Howe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mikaela Howe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.675735"], ["updated_at", "2018-09-05 13:42:52.675735"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Bert Ortiz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bert Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.681054"], ["updated_at", "2018-09-05 13:42:52.681054"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Winford Steuber"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Winford Steuber"], ["name", "Layne Graham"], ["address", "Geri Aufderhar"], ["created_at", "2018-09-05 13:42:52.687301"], ["updated_at", "2018-09-05 13:42:52.687301"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Branda Wiza"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Branda Wiza"], ["name", "Jamee West"], ["service_type_id", 37], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 13:42:52.696736"], ["updated_at", "2018-09-05 13:42:52.696736"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Branda Wiza"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Branda Wiza"], ["name", "Jamee West"], ["description", "Default bundle for service 'Jamee West'"], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 13:42:52.701957"], ["updated_at", "2018-09-05 13:42:52.701957"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 50], ["chargeable_service_id", 29]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Branda Wiza"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Marci Roob"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nella Weimann"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Marci Roob"], ["name", "Nella Weimann"], ["created_at", "2018-09-05 13:42:52.717422"], ["updated_at", "2018-09-05 13:42:52.717422"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Brittney Reilly"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Brittney Reilly"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.722185"], ["updated_at", "2018-09-05 13:42:52.722185"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Yee Batz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yee Batz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.726811"], ["updated_at", "2018-09-05 13:42:52.726811"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sanford Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sanford Erdman"], ["name", "Kendrick Kautzer"], ["address", "Joselyn Little"], ["created_at", "2018-09-05 13:42:52.732421"], ["updated_at", "2018-09-05 13:42:52.732421"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 56], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Roxane Leannon"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Althea Kshlerin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Roxane Leannon"], ["name", "Althea Kshlerin"], ["created_at", "2018-09-05 13:42:52.747527"], ["updated_at", "2018-09-05 13:42:52.747527"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lanelle Metz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lanelle Metz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.752910"], ["updated_at", "2018-09-05 13:42:52.752910"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Annemarie Stiedemann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Annemarie Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.759165"], ["updated_at", "2018-09-05 13:42:52.759165"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Velva Paucek"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Velva Paucek"], ["name", "Sharolyn Moore"], ["address", "Freddy Muller"], ["created_at", "2018-09-05 13:42:52.766117"], ["updated_at", "2018-09-05 13:42:52.766117"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Tona Ferry"], ["service_delivery_unit_id", 57], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Miguelina Renner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tama Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Miguelina Renner"], ["name", "Tama Zemlak"], ["created_at", "2018-09-05 13:42:52.778998"], ["updated_at", "2018-09-05 13:42:52.778998"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jamel Shields"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jamel Shields"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.785987"], ["updated_at", "2018-09-05 13:42:52.785987"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Bradley O'Reilly"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bradley O'Reilly"], ["name", "Veda Wolff"], ["address", "Kim Weimann"], ["created_at", "2018-09-05 13:42:52.793135"], ["updated_at", "2018-09-05 13:42:52.793135"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Ivan Stehr"], ["service_delivery_unit_id", 58], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kelle Erdman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Aurelio Schinner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelle Erdman"], ["name", "Aurelio Schinner"], ["created_at", "2018-09-05 13:42:52.806184"], ["updated_at", "2018-09-05 13:42:52.806184"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marylou Morissette"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marylou Morissette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.813249"], ["updated_at", "2018-09-05 13:42:52.813249"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Londa Mraz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Londa Mraz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.818203"], ["updated_at", "2018-09-05 13:42:52.818203"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" IS NULL LIMIT $2 [["code", "Giuseppe Blick"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Terica Herman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lexie Moen"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.5ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Terica Herman"], ["name", "Lexie Moen"], ["created_at", "2018-09-05 13:42:52.833352"], ["updated_at", "2018-09-05 13:42:52.833352"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Weldon Ondricka"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Weldon Ondricka"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.843278"], ["updated_at", "2018-09-05 13:42:52.843278"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jeremy O'Keefe"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jeremy O'Keefe"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.850309"], ["updated_at", "2018-09-05 13:42:52.850309"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Imelda Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Imelda Maggio"], ["name", "Jeffry Rau"], ["address", "Yuette D'Amore"], ["created_at", "2018-09-05 13:42:52.856498"], ["updated_at", "2018-09-05 13:42:52.856498"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Linette Moore"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Linette Moore"], ["name", "Roselia Cartwright"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 13:42:52.861917"], ["updated_at", "2018-09-05 13:42:52.861917"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Linette Moore"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Linette Moore"], ["name", "Roselia Cartwright"], ["description", "Default bundle for service 'Roselia Cartwright'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 13:42:52.867300"], ["updated_at", "2018-09-05 13:42:52.867300"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 51], ["chargeable_service_id", 30]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kathaleen Boyle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Candis Hand"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kathaleen Boyle"], ["name", "Candis Hand"], ["created_at", "2018-09-05 13:42:52.875968"], ["updated_at", "2018-09-05 13:42:52.875968"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Judie Gislason"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Judie Gislason"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.880592"], ["updated_at", "2018-09-05 13:42:52.880592"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jerrica Weissnat"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jerrica Weissnat"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.885116"], ["updated_at", "2018-09-05 13:42:52.885116"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Linette Moore"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aiko Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shu Swift"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Aiko Hoeger"], ["name", "Shu Swift"], ["created_at", "2018-09-05 13:42:52.898548"], ["updated_at", "2018-09-05 13:42:52.898548"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oralee Okuneva"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oralee Okuneva"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.905045"], ["updated_at", "2018-09-05 13:42:52.905045"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Elisha Wintheiser"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elisha Wintheiser"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:52.911380"], ["updated_at", "2018-09-05 13:42:52.911380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Charlsie Eichmann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Charlsie Eichmann"], ["name", "Fausto Bode"], ["address", "Cornelia Jewess"], ["created_at", "2018-09-05 13:42:52.916334"], ["updated_at", "2018-09-05 13:42:52.916334"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lynn Halvorson"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lynn Halvorson"], ["name", "Meg Hilpert"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 13:42:52.921281"], ["updated_at", "2018-09-05 13:42:52.921281"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lynn Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lynn Halvorson"], ["name", "Meg Hilpert"], ["description", "Default bundle for service 'Meg Hilpert'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 13:42:52.926463"], ["updated_at", "2018-09-05 13:42:52.926463"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 52], ["chargeable_service_id", 31]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 52]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marya.goldner@lueilwitzkilback.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rosie Wisoky"], ["last_name", "Marybelle Torphy"], ["email", "marya.goldner@lueilwitzkilback.ca"], ["password_digest", "$2a$04$JajZ3e4tfFqhNp0DqU.U9OcV4LWpfNjBchaWpg0cyyeC6vUDai8hy"], ["created_at", "2018-09-05 13:42:52.945860"], ["updated_at", "2018-09-05 13:42:52.945860"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "zena@oconner.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Barrett Crist"], ["last_name", "Kassie Nitzsche"], ["email", "zena@oconner.ca"], ["password_digest", "$2a$04$RgOrTZE0G15mOE1zFsv3K.S7MFN90PwNQoXU4wgS9HDeSw0TrhORK"], ["created_at", "2018-09-05 13:42:52.955084"], ["updated_at", "2018-09-05 13:42:52.955084"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Sima Kuhic"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.2ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Sima Kuhic"], ["authorized_by", "Armando Wisoky"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 66], ["approved_by_id", 67], ["created_at", "2018-09-05 13:42:52.961817"], ["updated_at", "2018-09-05 13:42:52.961817"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Sima Kuhic"], ["id", 8], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cindi@satterfield.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Wayne Pacocha"], ["last_name", "Pauline Zemlak"], ["email", "cindi@satterfield.co.uk"], ["password_digest", "$2a$04$63M.EF2gaIaPwuTRSUt.d.Ljd0cu4CJQ4XYAUgUnE0Psmd.pcYICi"], ["created_at", "2018-09-05 13:42:52.974643"], ["updated_at", "2018-09-05 13:42:52.974643"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cesar_stamm@prohaska.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Angelika Green"], ["last_name", "Carlene Bartell"], ["email", "cesar_stamm@prohaska.ca"], ["password_digest", "$2a$04$SicnUcXicCoEOeOmv9kTSONL1NMnp6w4dMIYrx1CE7V4vs2yEtUo6"], ["created_at", "2018-09-05 13:42:52.981105"], ["updated_at", "2018-09-05 13:42:52.981105"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Ivana Rau"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "fernando_russel@considinegoyette.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Eugene Gerlach"], ["last_name", "Tennille Buckridge"], ["email", "fernando_russel@considinegoyette.ca"], ["password_digest", "$2a$04$98zTOdvjCur7OGkdfzlDiuiKY8EgPRtBnUsct9jntPhW5154Vlh6S"], ["created_at", "2018-09-05 13:42:52.993817"], ["updated_at", "2018-09-05 13:42:52.993817"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hyon@trantowkris.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bernice Macejkovic"], ["last_name", "Britt Gutkowski"], ["email", "hyon@trantowkris.com"], ["password_digest", "$2a$04$PVTL6P.N3sdhxJiFBZFiSe.CUatx61WVudvUs2sXNQtcfeBqt9SPW"], ["created_at", "2018-09-05 13:42:53.001307"], ["updated_at", "2018-09-05 13:42:53.001307"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hobert@miller.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Isabelle Hamill"], ["last_name", "Roxy Harris"], ["email", "hobert@miller.biz"], ["password_digest", "$2a$04$SgUGycyjo0HoGNnjl9Qk4u3eIM7onux7bvFm6p01BbuVyIlrPWFgW"], ["created_at", "2018-09-05 13:42:53.015099"], ["updated_at", "2018-09-05 13:42:53.015099"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "zoila@krajciknolan.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Daria Gerlach"], ["last_name", "Brigette Ratke"], ["email", "zoila@krajciknolan.info"], ["password_digest", "$2a$04$J9ZukYsCpDuccsUB5B87NeC.6eyl29IvCZ/FDd1zv0IvrSH.5GmDm"], ["created_at", "2018-09-05 13:42:53.024349"], ["updated_at", "2018-09-05 13:42:53.024349"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Floy Haag"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Floy Haag"], ["authorized_by", "Sanford Torp"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 72], ["approved_by_id", 73], ["created_at", "2018-09-05 13:42:53.030227"], ["updated_at", "2018-09-05 13:42:53.030227"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "heath.mayer@barrows.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Simon Kling"], ["last_name", "Avelina Tillman"], ["email", "heath.mayer@barrows.co.uk"], ["password_digest", "$2a$04$kN046nrmvE5eom0cCUusn.Hca5sbq6eZmRTla/Dlnxl8HkJJMynXW"], ["created_at", "2018-09-05 13:42:53.037944"], ["updated_at", "2018-09-05 13:42:53.037944"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "isabel_kerluke@legrosnienow.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Tommie Wisozk"], ["last_name", "Daron DuBuque"], ["email", "isabel_kerluke@legrosnienow.com"], ["password_digest", "$2a$04$1Aqk9IizyiGdaqCpNX65Iui9X.SOn3qDxgCGXDLtdy2s4o7ukvbTi"], ["created_at", "2018-09-05 13:42:53.044663"], ["updated_at", "2018-09-05 13:42:53.044663"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Floy Haag"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "pearly@spencer.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "John Stehr"], ["last_name", "Stan McDermott"], ["email", "pearly@spencer.co.uk"], ["password_digest", "$2a$04$c33DgWSWw84XB8hEijjbsOJTL/7C2TliBdibuLU5dxhcZ9WD2kyuC"], ["created_at", "2018-09-05 13:42:53.057726"], ["updated_at", "2018-09-05 13:42:53.057726"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "nevada_morissette@dooleypfannerstill.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Madlyn Fahey"], ["last_name", "Freeman Pfeffer"], ["email", "nevada_morissette@dooleypfannerstill.us"], ["password_digest", "$2a$04$av3QwRYT2sEQJqh4CyCyDezDAvTI2WoyofViRA0blQUrexB8.yrI2"], ["created_at", "2018-09-05 13:42:53.066414"], ["updated_at", "2018-09-05 13:42:53.066414"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Trent Veum"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "claude@kilbackoreilly.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Celesta Boyer"], ["last_name", "Eda Legros"], ["email", "claude@kilbackoreilly.biz"], ["password_digest", "$2a$04$tIaYbrtf9vPBGBKcSRq7u.9vTWkexNtA6bV0hvBQZ3iXxY63JutaW"], ["created_at", "2018-09-05 13:42:53.081947"], ["updated_at", "2018-09-05 13:42:53.081947"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "augustine_brown@schneider.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Carlyn Haag"], ["last_name", "Lovetta Runolfsson"], ["email", "augustine_brown@schneider.ca"], ["password_digest", "$2a$04$Mv.FmW.DCHS6CoIuNgWOFuOl5ISSBhIzf.Bu0iD225EunvOwMBKmW"], ["created_at", "2018-09-05 13:42:53.089540"], ["updated_at", "2018-09-05 13:42:53.089540"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Marita Pfeffer"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "rhett@haneskiles.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jin Heller"], ["last_name", "Irina O'Connell"], ["email", "rhett@haneskiles.name"], ["password_digest", "$2a$04$WAu0rM9dLkSAm5UVIS/AZ.uON9mI0t91LbRh.A5OzjY07dhdHcBFS"], ["created_at", "2018-09-05 13:42:53.103263"], ["updated_at", "2018-09-05 13:42:53.103263"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "joe@mcglynnbauch.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alejandro Emard"], ["last_name", "Leo Harvey"], ["email", "joe@mcglynnbauch.info"], ["password_digest", "$2a$04$Gw0f.tdb6fV0JHgt1fx94OrwtKCS1/AJVhnKRRcyyDj9xl9z4g9nW"], ["created_at", "2018-09-05 13:42:53.112219"], ["updated_at", "2018-09-05 13:42:53.112219"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cassidy Haag"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ella_schaden@wehner.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Latashia Kohler"], ["last_name", "Willetta Jakubowski"], ["email", "ella_schaden@wehner.com"], ["password_digest", "$2a$04$L04.Jnmmc0/DtQ6pLb0NUOfhX8zwUF9PM0c.M7o9u4RdMwFFNPFue"], ["created_at", "2018-09-05 13:42:53.127345"], ["updated_at", "2018-09-05 13:42:53.127345"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "willetta_blanda@harris.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Malisa Klocko"], ["last_name", "Jonah Hartmann"], ["email", "willetta_blanda@harris.biz"], ["password_digest", "$2a$04$J4ojsWWNbvsoc/chDOcbdeh9M4hp92KJkq.kDE7ghe9vJ0qD0q//2"], ["created_at", "2018-09-05 13:42:53.135272"], ["updated_at", "2018-09-05 13:42:53.135272"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Carolin Nicolas"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jovan.armstrong@morissette.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Micheal Crooks"], ["last_name", "Ara Dach"], ["email", "jovan.armstrong@morissette.biz"], ["password_digest", "$2a$04$.oQK9I9RxwjM5k1uJYXwgeKTY/RfpVUzhSnyhwoW31Gr5cqTHzPHC"], ["created_at", "2018-09-05 13:42:53.150357"], ["updated_at", "2018-09-05 13:42:53.150357"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Trena Conroy"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.6ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Trena Conroy"], ["authorized_by", "Tarah Jast"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 84], ["created_at", "2018-09-05 13:42:53.155745"], ["updated_at", "2018-09-05 13:42:53.155745"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Trena Conroy"], ["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Luisa Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Luisa Predovic"], ["name", "Estela Lakin"], ["address", "Cindie Greenholt"], ["created_at", "2018-09-05 13:42:53.169021"], ["updated_at", "2018-09-05 13:42:53.169021"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Miguel Heathcote"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Miguel Heathcote"], ["name", "Jenice Reichert"], ["description", "Vernie Kautzer"], ["percent_discount", 100.0], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 13:42:53.176477"], ["updated_at", "2018-09-05 13:42:53.176477"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Miguel Heathcote"], ["id", 53], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dusti Wisozk"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dusti Wisozk"], ["name", "Klara Klein"], ["address", "Magnolia Wehner"], ["created_at", "2018-09-05 13:42:53.190054"], ["updated_at", "2018-09-05 13:42:53.190054"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cordia Graham"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cordia Graham"], ["name", "Jamison Lynch"], ["address", "Kourtney McClure"], ["created_at", "2018-09-05 13:42:53.200368"], ["updated_at", "2018-09-05 13:42:53.200368"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nelda Hand"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sharleen Howell"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sharleen Howell"], ["name", "Rochel Vandervort"], ["address", "Robby Wintheiser"], ["created_at", "2018-09-05 13:42:53.212322"], ["updated_at", "2018-09-05 13:42:53.212322"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leif Bailey"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Edris Haag"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Edris Haag"], ["name", "Bella Schultz"], ["address", "Anastacia Paucek"], ["created_at", "2018-09-05 13:42:53.224922"], ["updated_at", "2018-09-05 13:42:53.224922"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Curtis Huel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Curtis Huel"], ["name", "Chery O'Keefe"], ["description", "Kirby Stoltenberg"], ["percent_discount", 100.0], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 13:42:53.231508"], ["updated_at", "2018-09-05 13:42:53.231508"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Britta Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Britta Moen"], ["name", "Donnie Carter"], ["address", "Dee Denesik"], ["created_at", "2018-09-05 13:42:53.238395"], ["updated_at", "2018-09-05 13:42:53.238395"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Curtis Huel"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dale Marvin"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dale Marvin"], ["name", "Rosann Kling"], ["address", "Dorothy Fay"], ["created_at", "2018-09-05 13:42:53.249943"], ["updated_at", "2018-09-05 13:42:53.249943"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Dale Marvin"], ["id", 67], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Amiee Larkin"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Taisha Pfeffer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Taisha Pfeffer"], ["name", "Ervin Rutherford"], ["address", "Boyce Runolfsson"], ["created_at", "2018-09-05 13:42:53.273864"], ["updated_at", "2018-09-05 13:42:53.273864"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Taisha Pfeffer"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Earline Murray"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Maura Blanda"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Earline Murray"], ["name", "Maura Blanda"], ["description", "Voluptatem non porro nemo qui pariatur. Omnis rerum qui aut provident molestiae. Dicta ipsum laboriosam et veniam veritatis iusto."], ["created_at", "2018-09-05 13:42:53.290333"], ["updated_at", "2018-09-05 13:42:53.290333"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Jody Mitchell"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Harmony Swaniawski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.3ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jody Mitchell"], ["name", "Harmony Swaniawski"], ["description", "Ut perspiciatis repudiandae quas provident qui unde. Sequi quos omnis est itaque perferendis aut occaecati. Aliquid placeat culpa quae quo ut sed non. Et occaecati error dolorum a porro fuga qui. Cum debitis provident officiis eveniet aut ratione repudiandae."], ["equipment_type_id", 17], ["created_at", "2018-09-05 13:42:53.298432"], ["updated_at", "2018-09-05 13:42:53.298432"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Katheryn Fadel"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Katheryn Fadel"], ["name", "Wendolyn Hayes"], ["description", "Sharda Dicki"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 17], ["created_at", "2018-09-05 13:42:53.306452"], ["updated_at", "2018-09-05 13:42:53.306452"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Denis Hegmann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Jayme Casper"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Denis Hegmann"], ["name", "Jayme Casper"], ["description", "Leona Ryan"], ["created_at", "2018-09-05 13:42:53.314527"], ["updated_at", "2018-09-05 13:42:53.314527"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marylin Tremblay"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Marylin Tremblay"], ["name", "Lezlie Ondricka"], ["location_type_id", 17], ["description", "Hester Lebsack"], ["address", "Peter Hammes"], ["created_at", "2018-09-05 13:42:53.319357"], ["updated_at", "2018-09-05 13:42:53.319357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Milford Kerluke"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Millard Kutch"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Milford Kerluke"], ["name", "Valene Boyer"], ["description", "Lindsy Russel"], ["serial_number", "Millard Kutch"], ["brand", "Joye Dickinson"], ["item_model", "Diamond Tremblay"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 17], ["current_location_id", 17], ["created_at", "2018-09-05 13:42:53.325823"], ["updated_at", "2018-09-05 13:42:53.325823"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kareen Gleichner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Santa Shields"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kareen Gleichner"], ["name", "Santa Shields"], ["created_at", "2018-09-05 13:42:53.332589"], ["updated_at", "2018-09-05 13:42:53.332589"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Courtney Hermann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Courtney Hermann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.337756"], ["updated_at", "2018-09-05 13:42:53.337756"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Patty Keeling"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Patty Keeling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.342828"], ["updated_at", "2018-09-05 13:42:53.342828"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sharyn Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sharyn Bernhard"], ["name", "Inocencia Rau"], ["address", "Ray Kihn"], ["created_at", "2018-09-05 13:42:53.347715"], ["updated_at", "2018-09-05 13:42:53.347715"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sharita Friesen"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sharita Friesen"], ["name", "Salvador Hackett"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 13:42:53.352589"], ["updated_at", "2018-09-05 13:42:53.352589"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 69], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sharita Friesen"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sharita Friesen"], ["name", "Salvador Hackett"], ["description", "Default bundle for service 'Salvador Hackett'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 13:42:53.358064"], ["updated_at", "2018-09-05 13:42:53.358064"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 55], ["chargeable_service_id", 32]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.2ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 32], ["equipment_item_id", 17], ["created_at", "2018-09-05 13:42:53.365311"], ["updated_at", "2018-09-05 13:42:53.365311"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Verla Ruecker"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Fleta Raynor"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.3ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Verla Ruecker"], ["name", "Fleta Raynor"], ["description", "Quis quibusdam eveniet omnis deleniti voluptatibus et. Vel sequi eum ut blanditiis tempora. Itaque alias dolorum quisquam ut. Enim dolores accusantium nostrum numquam."], ["created_at", "2018-09-05 13:42:53.377416"], ["updated_at", "2018-09-05 13:42:53.377416"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Brent Nikolaus"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Wonda Ritchie"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Brent Nikolaus"], ["name", "Wonda Ritchie"], ["description", "Dolores excepturi ea illum eveniet. Numquam necessitatibus amet minima ut repudiandae cum aut. Qui eos aut ut sequi. Ut quidem iste aut culpa id quia provident qui."], ["equipment_type_id", 18], ["created_at", "2018-09-05 13:42:53.385659"], ["updated_at", "2018-09-05 13:42:53.385659"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jennifer Weissnat"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jennifer Weissnat"], ["name", "Adolph Schmeler"], ["description", "Deedee Terry"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 18], ["created_at", "2018-09-05 13:42:53.393314"], ["updated_at", "2018-09-05 13:42:53.393314"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Reynaldo Mertz"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Clarice Herman"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.1ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Reynaldo Mertz"], ["name", "Clarice Herman"], ["description", "Hue Wyman"], ["created_at", "2018-09-05 13:42:53.400956"], ["updated_at", "2018-09-05 13:42:53.400956"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Slyvia Prohaska"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Slyvia Prohaska"], ["name", "Shonna Jaskolski"], ["location_type_id", 18], ["description", "Christopher Jacobson"], ["address", "Stefani Anderson"], ["created_at", "2018-09-05 13:42:53.407464"], ["updated_at", "2018-09-05 13:42:53.407464"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Liberty Fay"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Leonard Robel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Liberty Fay"], ["name", "Miyoko Luettgen"], ["description", "Penny Murphy"], ["serial_number", "Leonard Robel"], ["brand", "Newton Carroll"], ["item_model", "Mariko Schiller"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 18], ["current_location_id", 18], ["created_at", "2018-09-05 13:42:53.413927"], ["updated_at", "2018-09-05 13:42:53.413927"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Noemi Friesen"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mui Shanahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Noemi Friesen"], ["name", "Mui Shanahan"], ["created_at", "2018-09-05 13:42:53.421296"], ["updated_at", "2018-09-05 13:42:53.421296"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Elmira Hartmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Elmira Hartmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.426859"], ["updated_at", "2018-09-05 13:42:53.426859"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Edgardo Kihn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Edgardo Kihn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.432928"], ["updated_at", "2018-09-05 13:42:53.432928"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dennis Vandervort"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dennis Vandervort"], ["name", "Darby Ankunding"], ["address", "Clemente Hansen"], ["created_at", "2018-09-05 13:42:53.439101"], ["updated_at", "2018-09-05 13:42:53.439101"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Cliff Parisian"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Cliff Parisian"], ["name", "Maggie Moen"], ["service_type_id", 46], ["base_unit_id", 79], ["utilization_unit_id", 80], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 13:42:53.444613"], ["updated_at", "2018-09-05 13:42:53.444613"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cliff Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Cliff Parisian"], ["name", "Maggie Moen"], ["description", "Default bundle for service 'Maggie Moen'"], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 13:42:53.450017"], ["updated_at", "2018-09-05 13:42:53.450017"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 33]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Micheal Lebsack"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Gertie Will"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Micheal Lebsack"], ["name", "Gertie Will"], ["description", "Odit facilis quia quas ea. Autem voluptas mollitia aut blanditiis culpa ullam. Unde cum ut dolores illum. Pariatur aut enim tenetur et. Vel est voluptatem consequatur optio autem."], ["created_at", "2018-09-05 13:42:53.465093"], ["updated_at", "2018-09-05 13:42:53.465093"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Gloria Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Benny Turcotte"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gloria Hilpert"], ["name", "Benny Turcotte"], ["description", "Eum non rerum voluptatem est. Atque officiis corrupti quae aut earum. Alias praesentium cupiditate et delectus aut rem repellendus error. Facilis ex aut eos sit ea. Id maxime sit repellat quos consectetur totam et debitis."], ["equipment_type_id", 19], ["created_at", "2018-09-05 13:42:53.470948"], ["updated_at", "2018-09-05 13:42:53.470948"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Boyd Hartmann"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Boyd Hartmann"], ["name", "Cedric Hansen"], ["description", "Bethanie Corkery"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 19], ["created_at", "2018-09-05 13:42:53.475277"], ["updated_at", "2018-09-05 13:42:53.475277"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Byron Hayes"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Tamela Morar"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.4ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Byron Hayes"], ["name", "Tamela Morar"], ["description", "Aiko Haag"], ["created_at", "2018-09-05 13:42:53.483728"], ["updated_at", "2018-09-05 13:42:53.483728"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Hanh Effertz"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.5ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Hanh Effertz"], ["name", "David Kulas"], ["location_type_id", 19], ["description", "Many Kautzer"], ["address", "Anisha Kshlerin"], ["created_at", "2018-09-05 13:42:53.490941"], ["updated_at", "2018-09-05 13:42:53.490941"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Thaddeus Conroy"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Heide Marquardt"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Thaddeus Conroy"], ["name", "Mechelle Bode"], ["description", "Marlon Flatley"], ["serial_number", "Heide Marquardt"], ["brand", "Leoma Nolan"], ["item_model", "Hubert DuBuque"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 19], ["current_location_id", 19], ["created_at", "2018-09-05 13:42:53.497672"], ["updated_at", "2018-09-05 13:42:53.497672"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kelly Hickle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Latonya Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kelly Hickle"], ["name", "Latonya Ebert"], ["created_at", "2018-09-05 13:42:53.504582"], ["updated_at", "2018-09-05 13:42:53.504582"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rod Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rod Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.509494"], ["updated_at", "2018-09-05 13:42:53.509494"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Evelynn Hermiston"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Evelynn Hermiston"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.514618"], ["updated_at", "2018-09-05 13:42:53.514618"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Brittaney Jewess"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brittaney Jewess"], ["name", "Ileen Tremblay"], ["address", "Del Heller"], ["created_at", "2018-09-05 13:42:53.519589"], ["updated_at", "2018-09-05 13:42:53.519589"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Coralee Doyle"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Coralee Doyle"], ["name", "Elana Wuckert"], ["service_type_id", 47], ["base_unit_id", 81], ["utilization_unit_id", 82], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 13:42:53.524361"], ["updated_at", "2018-09-05 13:42:53.524361"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 71], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Coralee Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Coralee Doyle"], ["name", "Elana Wuckert"], ["description", "Default bundle for service 'Elana Wuckert'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 13:42:53.529508"], ["updated_at", "2018-09-05 13:42:53.529508"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 57], ["chargeable_service_id", 34]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Shanice Lakin"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Corinna Raynor"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shanice Lakin"], ["name", "Corinna Raynor"], ["description", "Et ut facilis dolor sed distinctio fuga blanditiis. Et exercitationem error totam ut recusandae. Vitae odio perferendis molestiae et tempore quidem."], ["created_at", "2018-09-05 13:42:53.544163"], ["updated_at", "2018-09-05 13:42:53.544163"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Taren Thompson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Rolf Veum"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.1ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Taren Thompson"], ["name", "Rolf Veum"], ["description", "Et rem itaque nihil neque. Iste ea quibusdam enim temporibus commodi et. Aut non vel ab illo doloribus nobis aut quas."], ["equipment_type_id", 20], ["created_at", "2018-09-05 13:42:53.550910"], ["updated_at", "2018-09-05 13:42:53.550910"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Tracey Lueilwitz"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tracey Lueilwitz"], ["name", "Aurelia Schmidt"], ["description", "Lilliana Larkin"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 20], ["created_at", "2018-09-05 13:42:53.557306"], ["updated_at", "2018-09-05 13:42:53.557306"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Carlota Doyle"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Cyril Mueller"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carlota Doyle"], ["name", "Cyril Mueller"], ["description", "Abe Feil"], ["created_at", "2018-09-05 13:42:53.565839"], ["updated_at", "2018-09-05 13:42:53.565839"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Debbi Mosciski"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Debbi Mosciski"], ["name", "Inga Terry"], ["location_type_id", 20], ["description", "Kellye Wyman"], ["address", "Stefany Kuvalis"], ["created_at", "2018-09-05 13:42:53.570882"], ["updated_at", "2018-09-05 13:42:53.570882"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Vella Larkin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Maryalice Crona"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Vella Larkin"], ["name", "Suk Kirlin"], ["description", "Chan Pollich"], ["serial_number", "Maryalice Crona"], ["brand", "Omar O'Reilly"], ["item_model", "Justine Mann"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 20], ["current_location_id", 20], ["created_at", "2018-09-05 13:42:53.576667"], ["updated_at", "2018-09-05 13:42:53.576667"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ione Bernier"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Olin Beer"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ione Bernier"], ["name", "Olin Beer"], ["created_at", "2018-09-05 13:42:53.588015"], ["updated_at", "2018-09-05 13:42:53.588015"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Ione Bernier"], ["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Olin Beer"], ["id", 48], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.1ms) BEGIN Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" IS NULL LIMIT $1 [["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Romeo Erdman"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jaimie Runolfsson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sallie Schulist"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Norma Farrell"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sallie Schulist"], ["name", "Norma Farrell"], ["created_at", "2018-09-05 13:42:53.618567"], ["updated_at", "2018-09-05 13:42:53.618567"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sallie Schulist"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ty Beer"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Danelle Smith"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Delphia Legros"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Danelle Smith"], ["name", "Delphia Legros"], ["created_at", "2018-09-05 13:42:53.637437"], ["updated_at", "2018-09-05 13:42:53.637437"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Marna Wilkinson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Delphia Legros"], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Evelin Haag"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Wai Feeney"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hobert Hodkiewicz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hobert Hodkiewicz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.670062"], ["updated_at", "2018-09-05 13:42:53.670062"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hobert Hodkiewicz"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.8ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Pamala McCullough"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tesha Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Pamala McCullough"], ["name", "Tesha Runolfsdottir"], ["created_at", "2018-09-05 13:42:53.683504"], ["updated_at", "2018-09-05 13:42:53.683504"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lucio Armstrong"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lucio Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.691173"], ["updated_at", "2018-09-05 13:42:53.691173"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ranae Pagac"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ranae Pagac"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.698240"], ["updated_at", "2018-09-05 13:42:53.698240"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nicky Moen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicky Moen"], ["name", "Mitchell Nikolaus"], ["address", "Bob Ebert"], ["created_at", "2018-09-05 13:42:53.704788"], ["updated_at", "2018-09-05 13:42:53.704788"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jeannette Gusikowski"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jeannette Gusikowski"], ["name", "Cordell Thompson"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 13:42:53.709749"], ["updated_at", "2018-09-05 13:42:53.709749"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jeannette Gusikowski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jeannette Gusikowski"], ["name", "Cordell Thompson"], ["description", "Default bundle for service 'Cordell Thompson'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 13:42:53.714943"], ["updated_at", "2018-09-05 13:42:53.714943"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 58], ["chargeable_service_id", 35]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Linda Feest"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cheryle O'Reilly"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Linda Feest"], ["name", "Cheryle O'Reilly"], ["created_at", "2018-09-05 13:42:53.723653"], ["updated_at", "2018-09-05 13:42:53.723653"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gertrud Haley"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gertrud Haley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.728565"], ["updated_at", "2018-09-05 13:42:53.728565"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lorina Gleichner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lorina Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.733717"], ["updated_at", "2018-09-05 13:42:53.733717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ilda Quitzon"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ilda Quitzon"], ["name", "Isabelle Kovacek"], ["address", "Natosha Casper"], ["created_at", "2018-09-05 13:42:53.738718"], ["updated_at", "2018-09-05 13:42:53.738718"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Leontine Pollich"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Leontine Pollich"], ["name", "Lonna Raynor"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 13:42:53.743398"], ["updated_at", "2018-09-05 13:42:53.743398"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 73], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Leontine Pollich"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Leontine Pollich"], ["name", "Lonna Raynor"], ["description", "Default bundle for service 'Lonna Raynor'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 13:42:53.748741"], ["updated_at", "2018-09-05 13:42:53.748741"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 59], ["chargeable_service_id", 36]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lolita Lang"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Marina Koelpin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lolita Lang"], ["name", "Marina Koelpin"], ["created_at", "2018-09-05 13:42:53.757972"], ["updated_at", "2018-09-05 13:42:53.757972"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Teddy Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Teddy Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.762767"], ["updated_at", "2018-09-05 13:42:53.762767"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oren Bogisich"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oren Bogisich"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.768140"], ["updated_at", "2018-09-05 13:42:53.768140"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lacie Maggio"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lacie Maggio"], ["name", "Dewayne Fahey"], ["address", "Janiece Kassulke"], ["created_at", "2018-09-05 13:42:53.773128"], ["updated_at", "2018-09-05 13:42:53.773128"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lakeesha Romaguera"], ["service_delivery_unit_id", 74], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lakeesha Romaguera"], ["name", "Kiesha Conroy"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 13:42:53.777881"], ["updated_at", "2018-09-05 13:42:53.777881"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lakeesha Romaguera"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lakeesha Romaguera"], ["name", "Kiesha Conroy"], ["description", "Default bundle for service 'Kiesha Conroy'"], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 13:42:53.783083"], ["updated_at", "2018-09-05 13:42:53.783083"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 37]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (1.2ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (1.3ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 35], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 13:42:53.795018"], ["updated_at", "2018-09-05 13:42:53.795018"]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 36], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 13:42:53.799340"], ["updated_at", "2018-09-05 13:42:53.799340"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rudolf Gottlieb"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gianna Larson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rudolf Gottlieb"], ["name", "Gianna Larson"], ["created_at", "2018-09-05 13:42:53.810589"], ["updated_at", "2018-09-05 13:42:53.810589"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Nancey Dooley"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nancey Dooley"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.816717"], ["updated_at", "2018-09-05 13:42:53.816717"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Randall Halvorson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Randall Halvorson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.822438"], ["updated_at", "2018-09-05 13:42:53.822438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Onie Mills"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Onie Mills"], ["name", "Janee Parisian"], ["address", "Trang Ruecker"], ["created_at", "2018-09-05 13:42:53.827304"], ["updated_at", "2018-09-05 13:42:53.827304"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Erica Donnelly"], ["service_delivery_unit_id", 75], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Erica Donnelly"], ["name", "Leo Daugherty"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 13:42:53.833629"], ["updated_at", "2018-09-05 13:42:53.833629"]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 75], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Erica Donnelly"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Erica Donnelly"], ["name", "Leo Daugherty"], ["description", "Default bundle for service 'Leo Daugherty'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 13:42:53.842121"], ["updated_at", "2018-09-05 13:42:53.842121"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 61], ["chargeable_service_id", 38]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 38], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 13:42:53.848997"], ["updated_at", "2018-09-05 13:42:53.848997"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.7ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 38], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceRate Update (1.0ms) UPDATE "mks_rate_service_rates" SET "base_rate" = $1, "updated_at" = $2 WHERE "mks_rate_service_rates"."id" = $3 [["base_rate", 300.0], ["updated_at", "2018-09-05 13:42:53.855482"], ["id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "antonio@will.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Zella Schroeder"], ["last_name", "Lorretta Schinner"], ["email", "antonio@will.us"], ["password_digest", "$2a$04$Rm5zpAZDPhln99Ech4Gtv.Is1j.1WtB9PuOmUI7Lw7MBfSQA4qsL6"], ["created_at", "2018-09-05 13:42:53.868528"], ["updated_at", "2018-09-05 13:42:53.868528"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "belva_durgan@greenfelder.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shenna Gottlieb"], ["last_name", "Tisha Kovacek"], ["email", "belva_durgan@greenfelder.biz"], ["password_digest", "$2a$04$qlJftfq7t8QcZjvrfTRkf.FoglWQx0T7JZMyZlMu9GBogvoQTFkc6"], ["created_at", "2018-09-05 13:42:53.876591"], ["updated_at", "2018-09-05 13:42:53.876591"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "roy_hoppe@haley.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elza Howell"], ["last_name", "Wanetta Schaden"], ["email", "roy_hoppe@haley.info"], ["password_digest", "$2a$04$b8.Je2yBAEcJmUc3C8PFzuDPpKukqB1VU2mJ7Miut6kZYTnrNK/iK"], ["created_at", "2018-09-05 13:42:53.884697"], ["updated_at", "2018-09-05 13:42:53.884697"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Gertrude Shields"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Gertrude Shields"], ["authorized_by", "Criselda Fadel"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 86], ["approved_by_id", 87], ["created_at", "2018-09-05 13:42:53.890784"], ["updated_at", "2018-09-05 13:42:53.890784"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Gertrude Shields"], ["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "status" = $1, "approved_by_id" = $2, "updated_at" = $3 WHERE "mks_rate_rate_change_requests"."id" = $4 [["status", "APPROVED"], ["approved_by_id", 85], ["updated_at", "2018-09-05 13:42:53.896917"], ["id", 11]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (1.0ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Grayce Abshire"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Grayce Abshire"], ["name", "Charlyn Bednar"], ["address", "Cristi Dicki"], ["created_at", "2018-09-05 13:42:53.910278"], ["updated_at", "2018-09-05 13:42:53.910278"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lakita Nolan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lakita Nolan"], ["name", "Keturah Osinski"], ["description", "Sal Medhurst"], ["percent_discount", 100.0], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 13:42:53.915182"], ["updated_at", "2018-09-05 13:42:53.915182"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leta Jaskolski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Desire Kohler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leta Jaskolski"], ["name", "Desire Kohler"], ["created_at", "2018-09-05 13:42:53.921955"], ["updated_at", "2018-09-05 13:42:53.921955"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Glen Nicolas"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Glen Nicolas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.928562"], ["updated_at", "2018-09-05 13:42:53.928562"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gearldine Price"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gearldine Price"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.933772"], ["updated_at", "2018-09-05 13:42:53.933772"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Justine Schneider"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Justine Schneider"], ["name", "Hyacinth Bogisich"], ["address", "Beaulah Haag"], ["created_at", "2018-09-05 13:42:53.940001"], ["updated_at", "2018-09-05 13:42:53.940001"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Celine Cartwright"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Celine Cartwright"], ["name", "Clinton O'Connell"], ["service_type_id", 55], ["base_unit_id", 92], ["utilization_unit_id", 93], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 13:42:53.944927"], ["updated_at", "2018-09-05 13:42:53.944927"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 77], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Celine Cartwright"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Celine Cartwright"], ["name", "Clinton O'Connell"], ["description", "Default bundle for service 'Clinton O'Connell'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 13:42:53.950090"], ["updated_at", "2018-09-05 13:42:53.950090"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 63], ["chargeable_service_id", 39]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Arlie Trantow"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eleonor Okuneva"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arlie Trantow"], ["name", "Eleonor Okuneva"], ["created_at", "2018-09-05 13:42:53.958996"], ["updated_at", "2018-09-05 13:42:53.958996"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Wilson Nolan"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Wilson Nolan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.963704"], ["updated_at", "2018-09-05 13:42:53.963704"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Earline Swaniawski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Earline Swaniawski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:53.968358"], ["updated_at", "2018-09-05 13:42:53.968358"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Adelaida Bashirian"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Adelaida Bashirian"], ["name", "Lashandra Zboncak"], ["address", "Lorean Rutherford"], ["created_at", "2018-09-05 13:42:53.973672"], ["updated_at", "2018-09-05 13:42:53.973672"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Latesha Heaney"], ["service_delivery_unit_id", 78], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Latesha Heaney"], ["name", "Maria Ernser"], ["service_type_id", 56], ["base_unit_id", 94], ["utilization_unit_id", 95], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 13:42:53.978791"], ["updated_at", "2018-09-05 13:42:53.978791"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 78], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Latesha Heaney"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Latesha Heaney"], ["name", "Maria Ernser"], ["description", "Default bundle for service 'Maria Ernser'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 13:42:53.983643"], ["updated_at", "2018-09-05 13:42:53.983643"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 64], ["chargeable_service_id", 40]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gregoria Jenkins"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cecily Grant"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gregoria Jenkins"], ["name", "Cecily Grant"], ["created_at", "2018-09-05 13:42:53.992689"], ["updated_at", "2018-09-05 13:42:53.992689"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (18.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Angle Stroman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Angle Stroman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.014878"], ["updated_at", "2018-09-05 13:42:54.014878"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kandy Langworth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kandy Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.020163"], ["updated_at", "2018-09-05 13:42:54.020163"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lina Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lina Klocko"], ["name", "Mary Bednar"], ["address", "Christiane Doyle"], ["created_at", "2018-09-05 13:42:54.025387"], ["updated_at", "2018-09-05 13:42:54.025387"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Luis Muller"], ["service_delivery_unit_id", 79], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Luis Muller"], ["name", "Mazie Rice"], ["service_type_id", 57], ["base_unit_id", 96], ["utilization_unit_id", 97], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 13:42:54.030346"], ["updated_at", "2018-09-05 13:42:54.030346"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 79], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luis Muller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Luis Muller"], ["name", "Mazie Rice"], ["description", "Default bundle for service 'Mazie Rice'"], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 13:42:54.035468"], ["updated_at", "2018-09-05 13:42:54.035468"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 65], ["chargeable_service_id", 41]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 39], ["id", 40], ["id", 41]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 39]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 40]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 41]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]]  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Eladia Bergnaum"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Eladia Bergnaum"], ["name", "Latina Veum"], ["address", "Stasia Casper"], ["created_at", "2018-09-05 13:42:54.065849"], ["updated_at", "2018-09-05 13:42:54.065849"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Glenn Langosh"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Glenn Langosh"], ["name", "Whitney Bosco"], ["description", "Kaylee Witting"], ["percent_discount", 100.0], ["service_delivery_unit_id", 80], ["created_at", "2018-09-05 13:42:54.071390"], ["updated_at", "2018-09-05 13:42:54.071390"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ardelia Bechtelar"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Fairy Zboncak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ardelia Bechtelar"], ["name", "Fairy Zboncak"], ["created_at", "2018-09-05 13:42:54.077700"], ["updated_at", "2018-09-05 13:42:54.077700"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Chadwick Cormier"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Chadwick Cormier"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.082576"], ["updated_at", "2018-09-05 13:42:54.082576"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gayle Pouros"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gayle Pouros"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.088879"], ["updated_at", "2018-09-05 13:42:54.088879"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Joeann Dickinson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joeann Dickinson"], ["name", "Cheyenne Lueilwitz"], ["address", "Lorilee Beer"], ["created_at", "2018-09-05 13:42:54.094879"], ["updated_at", "2018-09-05 13:42:54.094879"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Deedee Greenfelder"], ["service_delivery_unit_id", 81], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.8ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Deedee Greenfelder"], ["name", "Adrian West"], ["service_type_id", 58], ["base_unit_id", 98], ["utilization_unit_id", 99], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 13:42:54.100515"], ["updated_at", "2018-09-05 13:42:54.100515"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Deedee Greenfelder"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Deedee Greenfelder"], ["name", "Adrian West"], ["description", "Default bundle for service 'Adrian West'"], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 13:42:54.106887"], ["updated_at", "2018-09-05 13:42:54.106887"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 67], ["chargeable_service_id", 42]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Micheal Weissnat"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Sang Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Micheal Weissnat"], ["name", "Sang Thompson"], ["created_at", "2018-09-05 13:42:54.117317"], ["updated_at", "2018-09-05 13:42:54.117317"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Glynda Cartwright"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Glynda Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.122084"], ["updated_at", "2018-09-05 13:42:54.122084"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gwen Cole"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gwen Cole"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.126616"], ["updated_at", "2018-09-05 13:42:54.126616"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lanell Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lanell Zemlak"], ["name", "Heath Lynch"], ["address", "Alex Treutel"], ["created_at", "2018-09-05 13:42:54.131361"], ["updated_at", "2018-09-05 13:42:54.131361"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Christopher Hoeger"], ["service_delivery_unit_id", 82], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Christopher Hoeger"], ["name", "Louvenia Prosacco"], ["service_type_id", 59], ["base_unit_id", 100], ["utilization_unit_id", 101], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 13:42:54.135993"], ["updated_at", "2018-09-05 13:42:54.135993"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 82], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Christopher Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Christopher Hoeger"], ["name", "Louvenia Prosacco"], ["description", "Default bundle for service 'Louvenia Prosacco'"], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 13:42:54.140947"], ["updated_at", "2018-09-05 13:42:54.140947"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 68], ["chargeable_service_id", 43]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leonore Yundt"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Laine Spencer"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leonore Yundt"], ["name", "Laine Spencer"], ["created_at", "2018-09-05 13:42:54.150153"], ["updated_at", "2018-09-05 13:42:54.150153"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lawrence Satterfield"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lawrence Satterfield"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.154752"], ["updated_at", "2018-09-05 13:42:54.154752"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Genia Romaguera"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Genia Romaguera"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.159483"], ["updated_at", "2018-09-05 13:42:54.159483"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Asley Raynor"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Asley Raynor"], ["name", "Dinorah Roob"], ["address", "Khadijah Reichert"], ["created_at", "2018-09-05 13:42:54.164076"], ["updated_at", "2018-09-05 13:42:54.164076"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "May Ebert"], ["service_delivery_unit_id", 83], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "May Ebert"], ["name", "Lovella Streich"], ["service_type_id", 60], ["base_unit_id", 102], ["utilization_unit_id", 103], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 13:42:54.168957"], ["updated_at", "2018-09-05 13:42:54.168957"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "May Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "May Ebert"], ["name", "Lovella Streich"], ["description", "Default bundle for service 'Lovella Streich'"], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 13:42:54.174057"], ["updated_at", "2018-09-05 13:42:54.174057"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 69], ["chargeable_service_id", 44]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 42]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 43]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 44]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 44]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" IN ($2, $3) [["service_bundle_id", 66], ["chargeable_service_id", 42], ["chargeable_service_id", 43]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sid Wunsch"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sid Wunsch"], ["name", "Shonna Kris"], ["address", "Elenora Lueilwitz"], ["created_at", "2018-09-05 13:42:54.207793"], ["updated_at", "2018-09-05 13:42:54.207793"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Merlin Bernier"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Merlin Bernier"], ["name", "Domingo Homenick"], ["description", "Coral Hegmann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 84], ["created_at", "2018-09-05 13:42:54.212276"], ["updated_at", "2018-09-05 13:42:54.212276"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Maddie Cronin"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jacqueline Kuhlman"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Maddie Cronin"], ["name", "Jacqueline Kuhlman"], ["created_at", "2018-09-05 13:42:54.220501"], ["updated_at", "2018-09-05 13:42:54.220501"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Roselyn Ortiz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Roselyn Ortiz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.226378"], ["updated_at", "2018-09-05 13:42:54.226378"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Star Welch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Star Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.232751"], ["updated_at", "2018-09-05 13:42:54.232751"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Adrianna Goyette"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Adrianna Goyette"], ["name", "Lacy Von"], ["address", "Isobel Hessel"], ["created_at", "2018-09-05 13:42:54.239303"], ["updated_at", "2018-09-05 13:42:54.239303"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Xzbdulia Mayert"], ["service_delivery_unit_id", 85], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Xzbdulia Mayert"], ["name", "Sadie Lindgren"], ["service_type_id", 61], ["base_unit_id", 104], ["utilization_unit_id", 105], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 13:42:54.245852"], ["updated_at", "2018-09-05 13:42:54.245852"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Xzbdulia Mayert"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Xzbdulia Mayert"], ["name", "Sadie Lindgren"], ["description", "Default bundle for service 'Sadie Lindgren'"], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 13:42:54.251565"], ["updated_at", "2018-09-05 13:42:54.251565"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 71], ["chargeable_service_id", 45]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Stephani Skiles"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Malinda Kutch"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Stephani Skiles"], ["name", "Malinda Kutch"], ["created_at", "2018-09-05 13:42:54.260824"], ["updated_at", "2018-09-05 13:42:54.260824"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Stacee Farrell"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stacee Farrell"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.266232"], ["updated_at", "2018-09-05 13:42:54.266232"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dessie Glover"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dessie Glover"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.271227"], ["updated_at", "2018-09-05 13:42:54.271227"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Christene Hauck"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Christene Hauck"], ["name", "Ginette Wisoky"], ["address", "Vaughn Daniel"], ["created_at", "2018-09-05 13:42:54.276627"], ["updated_at", "2018-09-05 13:42:54.276627"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Marty Rodriguez"], ["service_delivery_unit_id", 86], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Marty Rodriguez"], ["name", "Billi Luettgen"], ["service_type_id", 62], ["base_unit_id", 106], ["utilization_unit_id", 107], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 13:42:54.281603"], ["updated_at", "2018-09-05 13:42:54.281603"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 86], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marty Rodriguez"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Marty Rodriguez"], ["name", "Billi Luettgen"], ["description", "Default bundle for service 'Billi Luettgen'"], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 13:42:54.286739"], ["updated_at", "2018-09-05 13:42:54.286739"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 72], ["chargeable_service_id", 46]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joanna Hammes"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Austin Kling"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joanna Hammes"], ["name", "Austin Kling"], ["created_at", "2018-09-05 13:42:54.297176"], ["updated_at", "2018-09-05 13:42:54.297176"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lilliana Leannon"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lilliana Leannon"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.302229"], ["updated_at", "2018-09-05 13:42:54.302229"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Zora Herzog"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zora Herzog"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.307204"], ["updated_at", "2018-09-05 13:42:54.307204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Arline Stroman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Arline Stroman"], ["name", "Gavin Von"], ["address", "Parker Gerlach"], ["created_at", "2018-09-05 13:42:54.311930"], ["updated_at", "2018-09-05 13:42:54.311930"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Douglas Heller"], ["service_delivery_unit_id", 87], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.7ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Douglas Heller"], ["name", "Josef Larkin"], ["service_type_id", 63], ["base_unit_id", 108], ["utilization_unit_id", 109], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 13:42:54.317814"], ["updated_at", "2018-09-05 13:42:54.317814"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 87], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Douglas Heller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Douglas Heller"], ["name", "Josef Larkin"], ["description", "Default bundle for service 'Josef Larkin'"], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 13:42:54.325146"], ["updated_at", "2018-09-05 13:42:54.325146"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 73], ["chargeable_service_id", 47]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Beryl Hessel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Anne Ortiz"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Beryl Hessel"], ["name", "Anne Ortiz"], ["created_at", "2018-09-05 13:42:54.334357"], ["updated_at", "2018-09-05 13:42:54.334357"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Shela Weimann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Shela Weimann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.339395"], ["updated_at", "2018-09-05 13:42:54.339395"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rafaela Bednar"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rafaela Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 13:42:54.345052"], ["updated_at", "2018-09-05 13:42:54.345052"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Modesta Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Modesta Wuckert"], ["name", "Queen Tromp"], ["address", "Phebe Hayes"], ["created_at", "2018-09-05 13:42:54.350344"], ["updated_at", "2018-09-05 13:42:54.350344"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lincoln Pfannerstill"], ["service_delivery_unit_id", 88], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lincoln Pfannerstill"], ["name", "Elana Schmitt"], ["service_type_id", 64], ["base_unit_id", 110], ["utilization_unit_id", 111], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 13:42:54.355254"], ["updated_at", "2018-09-05 13:42:54.355254"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 88], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lincoln Pfannerstill"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lincoln Pfannerstill"], ["name", "Elana Schmitt"], ["description", "Default bundle for service 'Elana Schmitt'"], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 13:42:54.360297"], ["updated_at", "2018-09-05 13:42:54.360297"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 74], ["chargeable_service_id", 48]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 46]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 46], ["id", 47], ["id", 48]] Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" = $2 [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 47]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 48]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.6ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ChargeableService Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_chargeable_services"."id" = $2 LIMIT $3 [["service_bundle_id", 70], ["id", 45], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.7ms) ROLLBACK  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.8ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "farah.pacocha@brakus.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Arlie O'Keefe"], ["last_name", "Kellee Dooley"], ["email", "farah.pacocha@brakus.name"], ["password_digest", "$2a$04$brmqMOJOVzMc3plBKqoQSeznGhxi2IoT9K0wOQ2B2nejUXzGVWs8O"], ["created_at", "2018-09-05 19:27:40.129268"], ["updated_at", "2018-09-05 19:27:40.129268"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ross Mraz"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Kam Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Ross Mraz"], ["name", "Kam Zemlak"], ["created_at", "2018-09-05 19:27:40.172330"], ["updated_at", "2018-09-05 19:27:40.172330"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hazel Leffler"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hazel Leffler"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.193414"], ["updated_at", "2018-09-05 19:27:40.193414"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Andre Luettgen"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Andre Luettgen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.199281"], ["updated_at", "2018-09-05 19:27:40.199281"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dania Stokes"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dania Stokes"], ["name", "Precious Jakubowski"], ["address", "Russel Mayert"], ["created_at", "2018-09-05 19:27:40.214721"], ["updated_at", "2018-09-05 19:27:40.214721"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Tonja Kub"], ["service_delivery_unit_id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Tonja Kub"], ["name", "Manie Raynor"], ["service_type_id", 1], ["base_unit_id", 1], ["utilization_unit_id", 2], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 19:27:40.222700"], ["updated_at", "2018-09-05 19:27:40.222700"]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tonja Kub"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Tonja Kub"], ["name", "Manie Raynor"], ["description", "Default bundle for service 'Manie Raynor'"], ["service_delivery_unit_id", 1], ["created_at", "2018-09-05 19:27:40.250590"], ["updated_at", "2018-09-05 19:27:40.250590"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 1], ["chargeable_service_id", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kirk Kemmer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tammie Swift"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kirk Kemmer"], ["name", "Tammie Swift"], ["created_at", "2018-09-05 19:27:40.287368"], ["updated_at", "2018-09-05 19:27:40.287368"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Daina Kutch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Daina Kutch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.291885"], ["updated_at", "2018-09-05 19:27:40.291885"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Blake Heathcote"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Blake Heathcote"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.296127"], ["updated_at", "2018-09-05 19:27:40.296127"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rolf Tromp"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rolf Tromp"], ["name", "Abbie Goodwin"], ["address", "Linn Heidenreich"], ["created_at", "2018-09-05 19:27:40.300367"], ["updated_at", "2018-09-05 19:27:40.300367"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Herminia Jacobson"], ["service_delivery_unit_id", 2], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Herminia Jacobson"], ["name", "Lazaro Reinger"], ["service_type_id", 2], ["base_unit_id", 3], ["utilization_unit_id", 4], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 19:27:40.304397"], ["updated_at", "2018-09-05 19:27:40.304397"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Herminia Jacobson"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Herminia Jacobson"], ["name", "Lazaro Reinger"], ["description", "Default bundle for service 'Lazaro Reinger'"], ["service_delivery_unit_id", 2], ["created_at", "2018-09-05 19:27:40.309460"], ["updated_at", "2018-09-05 19:27:40.309460"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 2], ["chargeable_service_id", 2]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Soila Blanda"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Garrett Hills"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Soila Blanda"], ["name", "Garrett Hills"], ["created_at", "2018-09-05 19:27:40.318103"], ["updated_at", "2018-09-05 19:27:40.318103"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Trina Hand"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Trina Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.324431"], ["updated_at", "2018-09-05 19:27:40.324431"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vicki Heller"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vicki Heller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.329279"], ["updated_at", "2018-09-05 19:27:40.329279"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Shanell Barton"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Shanell Barton"], ["name", "Gabriela Leuschke"], ["address", "Nicolas Blanda"], ["created_at", "2018-09-05 19:27:40.334142"], ["updated_at", "2018-09-05 19:27:40.334142"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Luanne Grady"], ["service_delivery_unit_id", 3], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Luanne Grady"], ["name", "Merna Rolfson"], ["service_type_id", 3], ["base_unit_id", 5], ["utilization_unit_id", 6], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 19:27:40.338914"], ["updated_at", "2018-09-05 19:27:40.338914"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luanne Grady"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Luanne Grady"], ["name", "Merna Rolfson"], ["description", "Default bundle for service 'Merna Rolfson'"], ["service_delivery_unit_id", 3], ["created_at", "2018-09-05 19:27:40.344116"], ["updated_at", "2018-09-05 19:27:40.344116"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 3], ["chargeable_service_id", 3]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#index as HTML Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" ORDER BY "mks_rate_chargeable_services"."name" ASC Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" IN ($1, $2, $3) [["id", 2], ["id", 1], ["id", 3]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.6ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.5ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (16.28ms) Completed 200 OK in 49ms (Views: 36.6ms | ActiveRecord: 10.3ms)  (1.0ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "annelle@ratke.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elden Weimann"], ["last_name", "Alton Romaguera"], ["email", "annelle@ratke.biz"], ["password_digest", "$2a$04$nh66uyTo3sgAAhHujR8dGOJDkXrQPbKeeqM7YIpL9w9Li0zWHARnK"], ["created_at", "2018-09-05 19:27:40.410905"], ["updated_at", "2018-09-05 19:27:40.410905"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Luanne Conroy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luanne Conroy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.427336"], ["updated_at", "2018-09-05 19:27:40.427336"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kati Hudson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kati Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.434048"], ["updated_at", "2018-09-05 19:27:40.434048"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Love Sawayn"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Love Sawayn"], ["name", "Darell Weber"], ["address", "Brande Halvorson"], ["created_at", "2018-09-05 19:27:40.441444"], ["updated_at", "2018-09-05 19:27:40.441444"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sammie Graham"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brain Zulauf"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sammie Graham"], ["name", "Brain Zulauf"], ["created_at", "2018-09-05 19:27:40.447765"], ["updated_at", "2018-09-05 19:27:40.447765"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"7", "code"=>"Nicolle Grady", "name"=>"Aletha Jast", "service_delivery_unit_id"=>"4", "service_type_id"=>"4", "utilization_unit_id"=>"8"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Nicolle Grady"], ["service_delivery_unit_id", 4], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Nicolle Grady"], ["name", "Aletha Jast"], ["service_type_id", 4], ["base_unit_id", 7], ["utilization_unit_id", 8], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 19:27:40.465924"], ["updated_at", "2018-09-05 19:27:40.465924"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nicolle Grady"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Nicolle Grady"], ["name", "Aletha Jast"], ["description", "Default bundle for service 'Aletha Jast'"], ["service_delivery_unit_id", 4], ["created_at", "2018-09-05 19:27:40.471484"], ["updated_at", "2018-09-05 19:27:40.471484"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 4], ["chargeable_service_id", 4]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.76ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.46ms) Completed 200 OK in 35ms (Views: 10.7ms | ActiveRecord: 11.7ms)  (1.6ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services"  (1.7ms) ROLLBACK  (0.9ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "celine@oga.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Filiberto Lebsack"], ["last_name", "Reagan Gottlieb"], ["email", "celine@oga.us"], ["password_digest", "$2a$04$xhglcS.vkVBgVgfBKCFwJOCg8Pik3Gwfq5MlO7b2qaA04H5uJyGWG"], ["created_at", "2018-09-05 19:27:40.504877"], ["updated_at", "2018-09-05 19:27:40.504877"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marleen Cremin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marleen Cremin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.510303"], ["updated_at", "2018-09-05 19:27:40.510303"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Margareta Osinski"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Margareta Osinski"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.514985"], ["updated_at", "2018-09-05 19:27:40.514985"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mario Luettgen"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mario Luettgen"], ["name", "Sylvester Hagenes"], ["address", "Alicia Simonis"], ["created_at", "2018-09-05 19:27:40.521161"], ["updated_at", "2018-09-05 19:27:40.521161"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Henrietta Howe"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Caryl Kirlin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.4ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Henrietta Howe"], ["name", "Caryl Kirlin"], ["created_at", "2018-09-05 19:27:40.530125"], ["updated_at", "2018-09-05 19:27:40.530125"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"9", "code"=>"Raven Raynor", "name"=>"Shirleen Klein", "service_delivery_unit_id"=>"5", "service_type_id"=>"5", "utilization_unit_id"=>"10"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Raven Raynor"], ["service_delivery_unit_id", 5], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.5ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Raven Raynor"], ["name", "Shirleen Klein"], ["service_type_id", 5], ["base_unit_id", 9], ["utilization_unit_id", 10], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 19:27:40.546070"], ["updated_at", "2018-09-05 19:27:40.546070"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Raven Raynor"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Raven Raynor"], ["name", "Shirleen Klein"], ["description", "Default bundle for service 'Shirleen Klein'"], ["service_delivery_unit_id", 5], ["created_at", "2018-09-05 19:27:40.551594"], ["updated_at", "2018-09-05 19:27:40.551594"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 5], ["chargeable_service_id", 5]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (1.55ms) Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.33ms) Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 13.6ms)  (1.0ms) ROLLBACK  (1.3ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arden_smitham@gleichner.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Maranda Lakin"], ["last_name", "Kaylee Green"], ["email", "arden_smitham@gleichner.name"], ["password_digest", "$2a$04$.QUpggkXpQFE.1mKxCM0aeSHSv/kL.3R1as1iyspIhHS/K2uLrmm2"], ["created_at", "2018-09-05 19:27:40.575303"], ["updated_at", "2018-09-05 19:27:40.575303"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Julieta Bednar"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julieta Bednar"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.582022"], ["updated_at", "2018-09-05 19:27:40.582022"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vernell Von"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vernell Von"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.588001"], ["updated_at", "2018-09-05 19:27:40.588001"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Daniel Gulgowski"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Daniel Gulgowski"], ["name", "Loraine Sporer"], ["address", "Ma Kerluke"], ["created_at", "2018-09-05 19:27:40.593738"], ["updated_at", "2018-09-05 19:27:40.593738"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Fanny Okuneva"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lorna Schuster"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Fanny Okuneva"], ["name", "Lorna Schuster"], ["created_at", "2018-09-05 19:27:40.600744"], ["updated_at", "2018-09-05 19:27:40.600744"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#create as JSON Parameters: {"chargeable_service"=>{"base_unit_id"=>"11", "code"=>"", "name"=>"Sanda Fadel", "service_delivery_unit_id"=>"6", "service_type_id"=>"6", "utilization_unit_id"=>"12"}} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", ""], ["service_delivery_unit_id", 6], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.9ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 422 Unprocessable Entity in 29ms (Views: 6.8ms | ActiveRecord: 6.9ms)  (1.4ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "oliver@bechtelar.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Christeen Ruecker"], ["last_name", "Ivey Volkman"], ["email", "oliver@bechtelar.us"], ["password_digest", "$2a$04$JxnYoecl9.GWRofLwotK9urFCI6RmuXP6yq0f8qxXmBK0SB7Q.Clu"], ["created_at", "2018-09-05 19:27:40.644945"], ["updated_at", "2018-09-05 19:27:40.644945"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Enoch Moore"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Danuta Davis"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Enoch Moore"], ["name", "Danuta Davis"], ["created_at", "2018-09-05 19:27:40.653285"], ["updated_at", "2018-09-05 19:27:40.653285"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Isaac Grant"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Isaac Grant"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.660936"], ["updated_at", "2018-09-05 19:27:40.660936"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Heath Toy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Heath Toy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.669677"], ["updated_at", "2018-09-05 19:27:40.669677"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chiquita Murray"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chiquita Murray"], ["name", "Matt Kuhn"], ["address", "Chelsey Batz"], ["created_at", "2018-09-05 19:27:40.676821"], ["updated_at", "2018-09-05 19:27:40.676821"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Luvenia Powlowski"], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Luvenia Powlowski"], ["name", "Nick Lynch"], ["service_type_id", 7], ["base_unit_id", 13], ["utilization_unit_id", 14], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 19:27:40.683118"], ["updated_at", "2018-09-05 19:27:40.683118"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luvenia Powlowski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Luvenia Powlowski"], ["name", "Nick Lynch"], ["description", "Default bundle for service 'Nick Lynch'"], ["service_delivery_unit_id", 7], ["created_at", "2018-09-05 19:27:40.689152"], ["updated_at", "2018-09-05 19:27:40.689152"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 6], ["chargeable_service_id", 6]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>"Chargeable service 1"}, "id"=>"6"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Luvenia Powlowski"], ["id", 6], ["service_delivery_unit_id", 7], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Update (1.1ms) UPDATE "mks_rate_chargeable_services" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_chargeable_services"."id" = $3 [["name", "Chargeable service 1"], ["updated_at", "2018-09-05 19:27:40.711109"], ["id", 6]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luvenia Powlowski"], ["LIMIT", 1]]  (1.1ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Mks::Rate::UnitOfCharge Load (1.3ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ChargeableServiceSerializer with ActiveModelSerializers::Adapter::Attributes (2.68ms) Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (1.04ms) Completed 200 OK in 40ms (Views: 2.1ms | ActiveRecord: 12.0ms) Mks::Rate::ChargeableService Load (1.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "voncile.kohler@jasttrantow.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Olivia Bartoletti"], ["last_name", "Brittny Streich"], ["email", "voncile.kohler@jasttrantow.name"], ["password_digest", "$2a$04$EpEYQFjArI4y/2Wp.fFDUup0alwOrkI7Xtd0d4X0VkV3TUc6dRQGi"], ["created_at", "2018-09-05 19:27:40.758348"], ["updated_at", "2018-09-05 19:27:40.758348"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Fidela Crona"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rickie Lowe"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Fidela Crona"], ["name", "Rickie Lowe"], ["created_at", "2018-09-05 19:27:40.766822"], ["updated_at", "2018-09-05 19:27:40.766822"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Carli Waters"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carli Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.772571"], ["updated_at", "2018-09-05 19:27:40.772571"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Zetta Ferry"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Zetta Ferry"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.778686"], ["updated_at", "2018-09-05 19:27:40.778686"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Charisse Homenick"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Charisse Homenick"], ["name", "Floyd Donnelly"], ["address", "Mickey Pollich"], ["created_at", "2018-09-05 19:27:40.783448"], ["updated_at", "2018-09-05 19:27:40.783448"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Terrence Langworth"], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Terrence Langworth"], ["name", "Monroe Hane"], ["service_type_id", 8], ["base_unit_id", 15], ["utilization_unit_id", 16], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 19:27:40.789191"], ["updated_at", "2018-09-05 19:27:40.789191"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Terrence Langworth"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Terrence Langworth"], ["name", "Monroe Hane"], ["description", "Default bundle for service 'Monroe Hane'"], ["service_delivery_unit_id", 8], ["created_at", "2018-09-05 19:27:40.794416"], ["updated_at", "2018-09-05 19:27:40.794416"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 7], ["chargeable_service_id", 7]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#update as JSON Parameters: {"chargeable_service"=>{"name"=>""}, "id"=>"7"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Terrence Langworth"], ["id", 7], ["service_delivery_unit_id", 8], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 6.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shelley@mertz.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Madaline Leffler"], ["last_name", "Helaine Feeney"], ["email", "shelley@mertz.ca"], ["password_digest", "$2a$04$9keK3cJLllwWu71C.pXCNu2zH9bFIIDO.UbSWC.K9iDLNVq8r1b9C"], ["created_at", "2018-09-05 19:27:40.822022"], ["updated_at", "2018-09-05 19:27:40.822022"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Junko Brakus"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Junko Brakus"], ["name", "Lavonda Bode"], ["address", "Nicholas Jenkins"], ["created_at", "2018-09-05 19:27:40.828267"], ["updated_at", "2018-09-05 19:27:40.828267"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Verna Schmidt"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Verna Schmidt"], ["name", "Shawnta Hahn"], ["address", "Luvenia Hand"], ["created_at", "2018-09-05 19:27:40.835374"], ["updated_at", "2018-09-05 19:27:40.835374"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Milan Tillman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Cayla Mills"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Milan Tillman"], ["name", "Cayla Mills"], ["created_at", "2018-09-05 19:27:40.843562"], ["updated_at", "2018-09-05 19:27:40.843562"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dorthea D'Amore"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dorthea D'Amore"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.848940"], ["updated_at", "2018-09-05 19:27:40.848940"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Giovanni Koch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Giovanni Koch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.853412"], ["updated_at", "2018-09-05 19:27:40.853412"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Janene Donnelly"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Janene Donnelly"], ["name", "Harold Walker"], ["service_type_id", 9], ["base_unit_id", 17], ["utilization_unit_id", 18], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.859549"], ["updated_at", "2018-09-05 19:27:40.859549"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Janene Donnelly"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Janene Donnelly"], ["name", "Harold Walker"], ["description", "Default bundle for service 'Harold Walker'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.864211"], ["updated_at", "2018-09-05 19:27:40.864211"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 8], ["chargeable_service_id", 8]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Brooks Medhurst"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shin Jacobi"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brooks Medhurst"], ["name", "Shin Jacobi"], ["created_at", "2018-09-05 19:27:40.872853"], ["updated_at", "2018-09-05 19:27:40.872853"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Spring Gleichner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Spring Gleichner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.877440"], ["updated_at", "2018-09-05 19:27:40.877440"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Drusilla Trantow"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Drusilla Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.881931"], ["updated_at", "2018-09-05 19:27:40.881931"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Elayne Bogisich"], ["service_delivery_unit_id", 9], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Elayne Bogisich"], ["name", "Missy Lynch"], ["service_type_id", 10], ["base_unit_id", 19], ["utilization_unit_id", 20], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.888191"], ["updated_at", "2018-09-05 19:27:40.888191"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Elayne Bogisich"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Elayne Bogisich"], ["name", "Missy Lynch"], ["description", "Default bundle for service 'Missy Lynch'"], ["service_delivery_unit_id", 9], ["created_at", "2018-09-05 19:27:40.893465"], ["updated_at", "2018-09-05 19:27:40.893465"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 9], ["chargeable_service_id", 9]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Junior Jacobi"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Hubert Zemlak"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Junior Jacobi"], ["name", "Hubert Zemlak"], ["created_at", "2018-09-05 19:27:40.902863"], ["updated_at", "2018-09-05 19:27:40.902863"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Katharina Kerluke"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Katharina Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.907709"], ["updated_at", "2018-09-05 19:27:40.907709"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Suzy Brekke"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Suzy Brekke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.912533"], ["updated_at", "2018-09-05 19:27:40.912533"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Takako Yundt"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Takako Yundt"], ["name", "Vicente O'Reilly"], ["service_type_id", 11], ["base_unit_id", 21], ["utilization_unit_id", 22], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.918878"], ["updated_at", "2018-09-05 19:27:40.918878"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Takako Yundt"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Takako Yundt"], ["name", "Vicente O'Reilly"], ["description", "Default bundle for service 'Vicente O'Reilly'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.923818"], ["updated_at", "2018-09-05 19:27:40.923818"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 10], ["chargeable_service_id", 10]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Mittie Grant"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shanice Predovic"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mittie Grant"], ["name", "Shanice Predovic"], ["created_at", "2018-09-05 19:27:40.933024"], ["updated_at", "2018-09-05 19:27:40.933024"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Grady Stark"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Grady Stark"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.938225"], ["updated_at", "2018-09-05 19:27:40.938225"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kaleigh Goodwin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kaleigh Goodwin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:40.943812"], ["updated_at", "2018-09-05 19:27:40.943812"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Carroll Ruecker"], ["service_delivery_unit_id", 10], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Carroll Ruecker"], ["name", "Angelina Corwin"], ["service_type_id", 12], ["base_unit_id", 23], ["utilization_unit_id", 24], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.952410"], ["updated_at", "2018-09-05 19:27:40.952410"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Carroll Ruecker"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Carroll Ruecker"], ["name", "Angelina Corwin"], ["description", "Default bundle for service 'Angelina Corwin'"], ["service_delivery_unit_id", 10], ["created_at", "2018-09-05 19:27:40.957963"], ["updated_at", "2018-09-05 19:27:40.957963"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 11], ["chargeable_service_id", 11]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ChargeableServicesController#sdu_services as JSON Parameters: {"id"=>"9"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 9]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.7ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::UnitOfCharge Load (0.6ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (10.68ms) Completed 200 OK in 16ms (Views: 7.9ms | ActiveRecord: 7.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "rosenda.farrell@buckridge.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Augustine Walsh"], ["last_name", "Coralie Jakubowski"], ["email", "rosenda.farrell@buckridge.name"], ["password_digest", "$2a$04$jjtqJBTEGhFk7EtWO1pEq.fkAZc8.TnPY3kCDr.6/6WbJ2kmJcwJi"], ["created_at", "2018-09-05 19:27:40.988372"], ["updated_at", "2018-09-05 19:27:40.988372"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sharonda_kohler@muller.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Reggie Pagac"], ["last_name", "Lashaun Gerhold"], ["email", "sharonda_kohler@muller.us"], ["password_digest", "$2a$04$8xtOZZ7RbqdfjSnAyEEj0etKqhP55Sv7AdIvscbrtdMTkEQhEMe7W"], ["created_at", "2018-09-05 19:27:41.015135"], ["updated_at", "2018-09-05 19:27:41.015135"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lacy.hoppe@pfeffer.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alejandro Koepp"], ["last_name", "William Cremin"], ["email", "lacy.hoppe@pfeffer.co.uk"], ["password_digest", "$2a$04$.cap6f.N0g3Egz3rIujZJOfNtMYjCt9qgE7Egsq013shIsBVnbj92"], ["created_at", "2018-09-05 19:27:41.025458"], ["updated_at", "2018-09-05 19:27:41.025458"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Pamala Wolf"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (2.2ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Pamala Wolf"], ["authorized_by", "Mariko Feest"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 9], ["approved_by_id", 10], ["created_at", "2018-09-05 19:27:41.031095"], ["updated_at", "2018-09-05 19:27:41.031095"]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#index as HTML Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.7ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" No serializer found for resource: #1, "base_rate"=>100, "utilization_rate"=>50}, {"chargeable_service_id"=>2, "base_rate"=>100, "utilization_rate"=>25}], status: "SUBMITTED", created_by_id: 9, approved_by_id: 10, remark: nil, created_at: "2018-09-05 19:27:41", updated_at: "2018-09-05 19:27:41"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::RateChangeRequest::ActiveRecord_Relation (0.63ms) Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 2.3ms)  (1.9ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "elisa_williamson@runolfsdottirjohnson.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Denise Koelpin"], ["last_name", "Lanora Pfeffer"], ["email", "elisa_williamson@runolfsdottirjohnson.co.uk"], ["password_digest", "$2a$04$lfFFpqP/C6WD31JFYN3iL.OQNN7o3UKoKZR1SsSEEv.CAk5/qQF0a"], ["created_at", "2018-09-05 19:27:41.062778"], ["updated_at", "2018-09-05 19:27:41.062778"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jaquelyn.jacobson@steuber.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Maggie Roob"], ["last_name", "Vito O'Hara"], ["email", "jaquelyn.jacobson@steuber.name"], ["password_digest", "$2a$04$71tUiWm7AFCFUmQ56Cehl.xXj3PHnC.ECxtABPNm0EaTlT/XwR5xK"], ["created_at", "2018-09-05 19:27:41.070446"], ["updated_at", "2018-09-05 19:27:41.070446"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "breann.botsford@dickiwolf.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Pearline Leuschke"], ["last_name", "Barton Dicki"], ["email", "breann.botsford@dickiwolf.com"], ["password_digest", "$2a$04$l9w.pwxmXIEmWKm82lYHduIOxDkA8QbTsjN59czaoJOYlt9czgDmy"], ["created_at", "2018-09-05 19:27:41.077583"], ["updated_at", "2018-09-05 19:27:41.077583"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Celine Rice"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Celine Rice"], ["authorized_by", "Renita Lehner"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 12], ["approved_by_id", 13], ["created_at", "2018-09-05 19:27:41.084847"], ["updated_at", "2018-09-05 19:27:41.084847"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#show as HTML Parameters: {"id"=>"2"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.7ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.47ms) Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 2.3ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "janay@deckow.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shondra Considine"], ["last_name", "Freida Haley"], ["email", "janay@deckow.co.uk"], ["password_digest", "$2a$04$EXohCGeajsr5EMyfCUG96uF7zCbsNqx3//gHggsAbLKb9cHatam5G"], ["created_at", "2018-09-05 19:27:41.104056"], ["updated_at", "2018-09-05 19:27:41.104056"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Bennie Kessler"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Polly Kohler"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Bennie Kessler"], ["name", "Polly Kohler"], ["created_at", "2018-09-05 19:27:41.111595"], ["updated_at", "2018-09-05 19:27:41.111595"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Carolyne Mante"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Carolyne Mante"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.116280"], ["updated_at", "2018-09-05 19:27:41.116280"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Song Smith"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.4ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Song Smith"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.122213"], ["updated_at", "2018-09-05 19:27:41.122213"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Charlene Miller"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Charlene Miller"], ["name", "Elsy Connelly"], ["address", "Margeret Schroeder"], ["created_at", "2018-09-05 19:27:41.129395"], ["updated_at", "2018-09-05 19:27:41.129395"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Noe Klocko"], ["service_delivery_unit_id", 11], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Noe Klocko"], ["name", "Karla Stokes"], ["service_type_id", 13], ["base_unit_id", 25], ["utilization_unit_id", 26], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 19:27:41.135626"], ["updated_at", "2018-09-05 19:27:41.135626"]] Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Noe Klocko"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Noe Klocko"], ["name", "Karla Stokes"], ["description", "Default bundle for service 'Karla Stokes'"], ["service_delivery_unit_id", 11], ["created_at", "2018-09-05 19:27:41.142565"], ["updated_at", "2018-09-05 19:27:41.142565"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 12], ["chargeable_service_id", 12]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Joslyn Gerhold"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Marti Johnston"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Joslyn Gerhold"], ["name", "Marti Johnston"], ["created_at", "2018-09-05 19:27:41.151874"], ["updated_at", "2018-09-05 19:27:41.151874"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Camelia Wehner"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Camelia Wehner"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.157593"], ["updated_at", "2018-09-05 19:27:41.157593"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Karin Huels"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karin Huels"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.163307"], ["updated_at", "2018-09-05 19:27:41.163307"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Theola Hagenes"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Theola Hagenes"], ["name", "Shelby Legros"], ["address", "Opal Abbott"], ["created_at", "2018-09-05 19:27:41.168457"], ["updated_at", "2018-09-05 19:27:41.168457"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Deetta Nicolas"], ["service_delivery_unit_id", 12], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Deetta Nicolas"], ["name", "Patty Gutkowski"], ["service_type_id", 14], ["base_unit_id", 27], ["utilization_unit_id", 28], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 19:27:41.173210"], ["updated_at", "2018-09-05 19:27:41.173210"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Deetta Nicolas"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Deetta Nicolas"], ["name", "Patty Gutkowski"], ["description", "Default bundle for service 'Patty Gutkowski'"], ["service_delivery_unit_id", 12], ["created_at", "2018-09-05 19:27:41.178200"], ["updated_at", "2018-09-05 19:27:41.178200"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 13], ["chargeable_service_id", 13]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Minta Schultz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Elton Gulgowski"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Minta Schultz"], ["name", "Elton Gulgowski"], ["description", "Ut explicabo velit deleniti voluptate minus quia unde ut. Molestias atque culpa qui non. Consequatur qui eos molestiae dignissimos voluptatem illo voluptas expedita. Ipsa quaerat omnis dolores velit odit excepturi."], ["created_at", "2018-09-05 19:27:41.255604"], ["updated_at", "2018-09-05 19:27:41.255604"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kimberly Frami"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Louetta Pagac"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.2ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kimberly Frami"], ["name", "Louetta Pagac"], ["description", "Molestiae magnam eos aut consequuntur quisquam rem quas. Cumque voluptatibus dolorem amet consequatur. Placeat et perspiciatis libero dolores aut nesciunt blanditiis numquam."], ["equipment_type_id", 1], ["created_at", "2018-09-05 19:27:41.264200"], ["updated_at", "2018-09-05 19:27:41.264200"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sang Ondricka"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.4ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sang Ondricka"], ["name", "Maude Wuckert"], ["description", "Samuel Jaskolski"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 1], ["created_at", "2018-09-05 19:27:41.270343"], ["updated_at", "2018-09-05 19:27:41.270343"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Angel Cormier"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Clarence Roberts"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Angel Cormier"], ["name", "Clarence Roberts"], ["description", "Lacy Walsh"], ["created_at", "2018-09-05 19:27:41.303530"], ["updated_at", "2018-09-05 19:27:41.303530"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Valarie Beatty"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.2ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Valarie Beatty"], ["name", "Jenni Wolf"], ["location_type_id", 1], ["description", "Felisa Hermiston"], ["address", "Drew Blick"], ["created_at", "2018-09-05 19:27:41.309658"], ["updated_at", "2018-09-05 19:27:41.309658"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Romeo Cole"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Brittany Labadie"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.7ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Romeo Cole"], ["name", "Porfirio Barton"], ["description", "Ron Bosco"], ["serial_number", "Brittany Labadie"], ["brand", "Coralie Yost"], ["item_model", "Carlota Rutherford"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 1], ["current_location_id", 1], ["created_at", "2018-09-05 19:27:41.318611"], ["updated_at", "2018-09-05 19:27:41.318611"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Toshia Kunde"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Cristen Koch"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Toshia Kunde"], ["name", "Cristen Koch"], ["description", "Expedita voluptas vitae rerum quod numquam eos ut a. Minima est ea cumque nesciunt molestias. Quia sit eius a totam aliquid temporibus porro. Natus delectus quisquam expedita sunt qui officiis."], ["created_at", "2018-09-05 19:27:41.326245"], ["updated_at", "2018-09-05 19:27:41.326245"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kasie Schiller"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Rachell Hartmann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kasie Schiller"], ["name", "Rachell Hartmann"], ["description", "Omnis omnis modi ipsum deleniti est. Sunt dolor delectus asperiores et impedit eaque quia est. Enim eveniet quae in eum. Ut tempore deserunt iste assumenda. Autem enim nostrum et voluptatum nulla."], ["equipment_type_id", 2], ["created_at", "2018-09-05 19:27:41.331637"], ["updated_at", "2018-09-05 19:27:41.331637"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jermaine Cartwright"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jermaine Cartwright"], ["name", "Margaret Kassulke"], ["description", "Moshe Berge"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 2], ["created_at", "2018-09-05 19:27:41.335962"], ["updated_at", "2018-09-05 19:27:41.335962"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Geraldo Robel"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Phylis Lakin"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Geraldo Robel"], ["name", "Phylis Lakin"], ["description", "Ammie Dare"], ["created_at", "2018-09-05 19:27:41.341502"], ["updated_at", "2018-09-05 19:27:41.341502"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Tamera Yost"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tamera Yost"], ["name", "Janay O'Connell"], ["location_type_id", 2], ["description", "Virgen Bogan"], ["address", "Lesley Wehner"], ["created_at", "2018-09-05 19:27:41.345405"], ["updated_at", "2018-09-05 19:27:41.345405"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Delois Monahan"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Merri Fritsch"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Delois Monahan"], ["name", "Blythe Stamm"], ["description", "Clarita Bergstrom"], ["serial_number", "Merri Fritsch"], ["brand", "Jamey Stroman"], ["item_model", "Dona D'Amore"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 2], ["current_location_id", 2], ["created_at", "2018-09-05 19:27:41.350513"], ["updated_at", "2018-09-05 19:27:41.350513"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "corey@frami.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ming Douglas"], ["last_name", "Velma Smitham"], ["email", "corey@frami.name"], ["password_digest", "$2a$04$s.w8A3zpGjIrPg1hugegxenjIdxug9Abn6CCGBDlc8oGwVy0UyHke"], ["created_at", "2018-09-05 19:27:41.357153"], ["updated_at", "2018-09-05 19:27:41.357153"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "asuncion@schroeder.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Sheila Wilkinson"], ["last_name", "Magdalena Kuhn"], ["email", "asuncion@schroeder.co.uk"], ["password_digest", "$2a$04$S8Z1lLLgwKoKMSE8kuiDE.DSum1pgh1xe3UuQ4GvneY1kzwMQsTm2"], ["created_at", "2018-09-05 19:27:41.363233"], ["updated_at", "2018-09-05 19:27:41.363233"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"16", "authorized_by"=>"Loria Greenfelder", "authorized_on"=>"2018-09-05", "created_by_id"=>"15", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"12", "chargeable_service_name"=>"Patty Gutkowski", "equipment_item_id"=>"1", "equipment_item_name"=>"Blythe Stamm", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Alysa Dibbert", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Alysa Dibbert"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.1ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Alysa Dibbert"], ["authorized_by", "Loria Greenfelder"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"12\",\"chargeable_service_name\":\"Patty Gutkowski\",\"equipment_item_id\":\"1\",\"equipment_item_name\":\"Blythe Stamm\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 14], ["approved_by_id", 16], ["created_at", "2018-09-05 19:27:41.374482"], ["updated_at", "2018-09-05 19:27:41.374482"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.17ms) Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.41ms) Completed 201 Created in 14ms (Views: 1.4ms | ActiveRecord: 5.2ms)  (0.9ms) SELECT COUNT(*) FROM "mks_rate_rate_change_requests"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vanda.kiehn@berge.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Forrest Hermiston"], ["last_name", "Beryl Pouros"], ["email", "vanda.kiehn@berge.com"], ["password_digest", "$2a$04$wgVyCU5/fUGRxOrIazaMbeZOWSVlvIsBaUJE02V58ZhmhrY9/ltFS"], ["created_at", "2018-09-05 19:27:41.391224"], ["updated_at", "2018-09-05 19:27:41.391224"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Gretta Mayer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Shona Tromp"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Gretta Mayer"], ["name", "Shona Tromp"], ["created_at", "2018-09-05 19:27:41.397424"], ["updated_at", "2018-09-05 19:27:41.397424"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Charline Fadel"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Charline Fadel"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.402097"], ["updated_at", "2018-09-05 19:27:41.402097"]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sherrell Jenkins"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherrell Jenkins"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.413585"], ["updated_at", "2018-09-05 19:27:41.413585"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marian McDermott"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marian McDermott"], ["name", "Wally Welch"], ["address", "Phillip McCullough"], ["created_at", "2018-09-05 19:27:41.418109"], ["updated_at", "2018-09-05 19:27:41.418109"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Alphonse Bergnaum"], ["service_delivery_unit_id", 13], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Alphonse Bergnaum"], ["name", "Johnie Friesen"], ["service_type_id", 15], ["base_unit_id", 29], ["utilization_unit_id", 30], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 19:27:41.424162"], ["updated_at", "2018-09-05 19:27:41.424162"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alphonse Bergnaum"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Alphonse Bergnaum"], ["name", "Johnie Friesen"], ["description", "Default bundle for service 'Johnie Friesen'"], ["service_delivery_unit_id", 13], ["created_at", "2018-09-05 19:27:41.429089"], ["updated_at", "2018-09-05 19:27:41.429089"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 14], ["chargeable_service_id", 14]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Nakesha Grady"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Adelina Fahey"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Nakesha Grady"], ["name", "Adelina Fahey"], ["created_at", "2018-09-05 19:27:41.437863"], ["updated_at", "2018-09-05 19:27:41.437863"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Darryl Hansen"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Darryl Hansen"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.442902"], ["updated_at", "2018-09-05 19:27:41.442902"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Myles Lakin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Myles Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.448213"], ["updated_at", "2018-09-05 19:27:41.448213"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Nicol Abernathy"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nicol Abernathy"], ["name", "Kent Dach"], ["address", "Ok Halvorson"], ["created_at", "2018-09-05 19:27:41.452874"], ["updated_at", "2018-09-05 19:27:41.452874"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Dorothy Mills"], ["service_delivery_unit_id", 14], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Dorothy Mills"], ["name", "Karima Hirthe"], ["service_type_id", 16], ["base_unit_id", 31], ["utilization_unit_id", 32], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 19:27:41.457669"], ["updated_at", "2018-09-05 19:27:41.457669"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Dorothy Mills"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Dorothy Mills"], ["name", "Karima Hirthe"], ["description", "Default bundle for service 'Karima Hirthe'"], ["service_delivery_unit_id", 14], ["created_at", "2018-09-05 19:27:41.462476"], ["updated_at", "2018-09-05 19:27:41.462476"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 15], ["chargeable_service_id", 15]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Asha Wunsch"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Latrina Monahan"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Asha Wunsch"], ["name", "Latrina Monahan"], ["description", "Minima deleniti numquam ipsam voluptas assumenda doloribus. Consectetur nostrum esse eum autem minus ut quasi. Sunt et dicta repellat atque provident. Deserunt totam nostrum optio dolorum laboriosam numquam perspiciatis vel."], ["created_at", "2018-09-05 19:27:41.473909"], ["updated_at", "2018-09-05 19:27:41.473909"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Salena Jaskolski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Jerrod Howe"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.3ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Salena Jaskolski"], ["name", "Jerrod Howe"], ["description", "Quos rerum a ut facilis. Aut tempora ut et asperiores occaecati. Enim aut dolorem rerum eligendi voluptatem corporis. Laboriosam et enim consectetur ut ratione libero. Est tenetur deleniti odit repellat."], ["equipment_type_id", 3], ["created_at", "2018-09-05 19:27:41.480244"], ["updated_at", "2018-09-05 19:27:41.480244"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Joette Johns"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.2ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Joette Johns"], ["name", "Alva Kirlin"], ["description", "Claretha Bergnaum"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 3], ["created_at", "2018-09-05 19:27:41.487432"], ["updated_at", "2018-09-05 19:27:41.487432"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Laureen Rogahn"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Modesto Shanahan"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Laureen Rogahn"], ["name", "Modesto Shanahan"], ["description", "Vincent Ankunding"], ["created_at", "2018-09-05 19:27:41.495905"], ["updated_at", "2018-09-05 19:27:41.495905"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Katherine Reilly"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Katherine Reilly"], ["name", "Eleonora Hayes"], ["location_type_id", 3], ["description", "Camelia Greenholt"], ["address", "Joaquina Bartell"], ["created_at", "2018-09-05 19:27:41.500921"], ["updated_at", "2018-09-05 19:27:41.500921"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Mira Ward"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tressie Kunde"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Mira Ward"], ["name", "Wally Braun"], ["description", "Angela Ankunding"], ["serial_number", "Tressie Kunde"], ["brand", "Oralia Hilpert"], ["item_model", "Shantelle Huels"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 3], ["current_location_id", 3], ["created_at", "2018-09-05 19:27:41.506988"], ["updated_at", "2018-09-05 19:27:41.506988"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Emery Goyette"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Cher Lesch"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emery Goyette"], ["name", "Cher Lesch"], ["description", "Est similique cum neque quibusdam iste itaque. Ut ut veniam eligendi voluptatem et nemo. Dignissimos asperiores tempora pariatur iusto molestias eaque provident veniam."], ["created_at", "2018-09-05 19:27:41.513965"], ["updated_at", "2018-09-05 19:27:41.513965"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Yetta Goodwin"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Josie Boyer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Yetta Goodwin"], ["name", "Josie Boyer"], ["description", "Excepturi consequatur aut doloribus delectus quia. Quaerat aut quo dolorum ullam corrupti. Voluptatem voluptas ea eum enim. Sed id iure amet aperiam. Voluptates repudiandae modi debitis voluptatem."], ["equipment_type_id", 4], ["created_at", "2018-09-05 19:27:41.520211"], ["updated_at", "2018-09-05 19:27:41.520211"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Denver Fritsch"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Denver Fritsch"], ["name", "Aisha Lindgren"], ["description", "Ariane Kunze"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 4], ["created_at", "2018-09-05 19:27:41.524726"], ["updated_at", "2018-09-05 19:27:41.524726"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Tawny Hintz"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Sally Hane"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tawny Hintz"], ["name", "Sally Hane"], ["description", "Federico Ebert"], ["created_at", "2018-09-05 19:27:41.531192"], ["updated_at", "2018-09-05 19:27:41.531192"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Willy Braun"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Willy Braun"], ["name", "Eryn Ebert"], ["location_type_id", 4], ["description", "Denese Pfannerstill"], ["address", "Kiley Abbott"], ["created_at", "2018-09-05 19:27:41.535443"], ["updated_at", "2018-09-05 19:27:41.535443"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Daryl Simonis"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Elly McDermott"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.1ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Daryl Simonis"], ["name", "Solange Schuppe"], ["description", "Norbert Quigley"], ["serial_number", "Elly McDermott"], ["brand", "Verlie Mertz"], ["item_model", "Olivia Cassin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 4], ["current_location_id", 4], ["created_at", "2018-09-05 19:27:41.542102"], ["updated_at", "2018-09-05 19:27:41.542102"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tessie@schultz.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Sydney Cartwright"], ["last_name", "Wei Stanton"], ["email", "tessie@schultz.us"], ["password_digest", "$2a$04$0fqw/77Gnot7mqdM5NYvUeA0nzJ/NDaNt8O7YUHK773rXKwzwSmA6"], ["created_at", "2018-09-05 19:27:41.549206"], ["updated_at", "2018-09-05 19:27:41.549206"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ebony.powlowski@daniel.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lissette Klein"], ["last_name", "Lawanda Kilback"], ["email", "ebony.powlowski@daniel.co.uk"], ["password_digest", "$2a$04$wPfA70Bh6nA0OFwKeTSfq.e0tlaORUwDDa/kW8TNuvTcD9j6CZW6e"], ["created_at", "2018-09-05 19:27:41.555665"], ["updated_at", "2018-09-05 19:27:41.555665"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"19", "authorized_by"=>"Tierra Abernathy", "authorized_on"=>"2018-09-05", "created_by_id"=>"18", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"14", "chargeable_service_name"=>"Karima Hirthe", "equipment_item_id"=>"3", "equipment_item_name"=>"Solange Schuppe", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Cecil Denesik", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cecil Denesik"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Cecil Denesik"], ["authorized_by", "Tierra Abernathy"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":\"14\",\"chargeable_service_name\":\"Karima Hirthe\",\"equipment_item_id\":\"3\",\"equipment_item_name\":\"Solange Schuppe\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["created_by_id", 17], ["approved_by_id", 19], ["created_at", "2018-09-05 19:27:41.565947"], ["updated_at", "2018-09-05 19:27:41.565947"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.16ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.39ms) Completed 201 Created in 12ms (Views: 1.4ms | ActiveRecord: 5.0ms)  (1.4ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "nilda_jacobi@hand.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Hugo Swift"], ["last_name", "Tereasa Kutch"], ["email", "nilda_jacobi@hand.us"], ["password_digest", "$2a$04$7TTFonh5i0Gq/edAfC2kAefJsQ7UhmI.gqDw6.28KRyJLjCZ7hR9m"], ["created_at", "2018-09-05 19:27:41.581268"], ["updated_at", "2018-09-05 19:27:41.581268"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Huey Kunze"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Melodie Trantow"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Huey Kunze"], ["name", "Melodie Trantow"], ["created_at", "2018-09-05 19:27:41.590700"], ["updated_at", "2018-09-05 19:27:41.590700"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Madeline Rolfson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Madeline Rolfson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.597316"], ["updated_at", "2018-09-05 19:27:41.597316"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Julianna Waters"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Julianna Waters"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.602137"], ["updated_at", "2018-09-05 19:27:41.602137"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Melynda Ratke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Melynda Ratke"], ["name", "Salena Trantow"], ["address", "Yesenia Mueller"], ["created_at", "2018-09-05 19:27:41.609233"], ["updated_at", "2018-09-05 19:27:41.609233"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Alesia Buckridge"], ["service_delivery_unit_id", 15], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Alesia Buckridge"], ["name", "Jesusa Treutel"], ["service_type_id", 17], ["base_unit_id", 33], ["utilization_unit_id", 34], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 19:27:41.614365"], ["updated_at", "2018-09-05 19:27:41.614365"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alesia Buckridge"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Alesia Buckridge"], ["name", "Jesusa Treutel"], ["description", "Default bundle for service 'Jesusa Treutel'"], ["service_delivery_unit_id", 15], ["created_at", "2018-09-05 19:27:41.619360"], ["updated_at", "2018-09-05 19:27:41.619360"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 16], ["chargeable_service_id", 16]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Myrtice Simonis"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rutha Herman"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Myrtice Simonis"], ["name", "Rutha Herman"], ["created_at", "2018-09-05 19:27:41.628177"], ["updated_at", "2018-09-05 19:27:41.628177"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jung Kling"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jung Kling"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.633053"], ["updated_at", "2018-09-05 19:27:41.633053"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Caleb Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Caleb Runolfsdottir"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.637874"], ["updated_at", "2018-09-05 19:27:41.637874"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Emerald Hermann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Emerald Hermann"], ["name", "Lynna Jacobi"], ["address", "Jacelyn Crist"], ["created_at", "2018-09-05 19:27:41.642290"], ["updated_at", "2018-09-05 19:27:41.642290"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sha Beahan"], ["service_delivery_unit_id", 16], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sha Beahan"], ["name", "Ludie Huels"], ["service_type_id", 18], ["base_unit_id", 35], ["utilization_unit_id", 36], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 19:27:41.646902"], ["updated_at", "2018-09-05 19:27:41.646902"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sha Beahan"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sha Beahan"], ["name", "Ludie Huels"], ["description", "Default bundle for service 'Ludie Huels'"], ["service_delivery_unit_id", 16], ["created_at", "2018-09-05 19:27:41.651746"], ["updated_at", "2018-09-05 19:27:41.651746"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 17], ["chargeable_service_id", 17]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Alethea Stracke"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Corene Cartwright"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Alethea Stracke"], ["name", "Corene Cartwright"], ["description", "Ratione et nihil et voluptatum cumque error. Voluptatibus impedit fugit maxime suscipit voluptatum et distinctio explicabo. Asperiores omnis recusandae voluptatem molestiae. Placeat corporis sed sunt quia nihil alias tenetur et. Aliquid officia omnis fuga alias."], ["created_at", "2018-09-05 19:27:41.661650"], ["updated_at", "2018-09-05 19:27:41.661650"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Lucila Hane"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Elaine Hoppe"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lucila Hane"], ["name", "Elaine Hoppe"], ["description", "Quis earum repellat quos in fugiat voluptatem. Impedit omnis delectus exercitationem quia officia. Ea sed maiores culpa eum laborum labore ut et. Suscipit quo dolor enim dolore."], ["equipment_type_id", 5], ["created_at", "2018-09-05 19:27:41.667043"], ["updated_at", "2018-09-05 19:27:41.667043"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Chas Hermann"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Chas Hermann"], ["name", "Silvana Beier"], ["description", "Florencio Goldner"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 5], ["created_at", "2018-09-05 19:27:41.671438"], ["updated_at", "2018-09-05 19:27:41.671438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Denyse Waters"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Lashell Thompson"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.5ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Denyse Waters"], ["name", "Lashell Thompson"], ["description", "Luigi West"], ["created_at", "2018-09-05 19:27:41.677915"], ["updated_at", "2018-09-05 19:27:41.677915"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Margit Price"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Margit Price"], ["name", "Echo Langworth"], ["location_type_id", 5], ["description", "Richelle Beer"], ["address", "Robbie Greenholt"], ["created_at", "2018-09-05 19:27:41.684181"], ["updated_at", "2018-09-05 19:27:41.684181"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Jutta Cummerata"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Vita Franecki"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Jutta Cummerata"], ["name", "Leonie Ortiz"], ["description", "Lakeisha Mills"], ["serial_number", "Vita Franecki"], ["brand", "Verona Schamberger"], ["item_model", "Ardath Sawayn"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 5], ["current_location_id", 5], ["created_at", "2018-09-05 19:27:41.690118"], ["updated_at", "2018-09-05 19:27:41.690118"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Ceola Altenwerth"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Carita McGlynn"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ceola Altenwerth"], ["name", "Carita McGlynn"], ["description", "Reprehenderit dicta necessitatibus est sequi quia. Debitis rerum quam expedita enim omnis sed vero. Laborum quisquam reprehenderit deserunt rerum unde porro doloremque quis. Dolorum similique itaque aliquam aut beatae repellendus."], ["created_at", "2018-09-05 19:27:41.697333"], ["updated_at", "2018-09-05 19:27:41.697333"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Kattie Lemke"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Claretha Keeling"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kattie Lemke"], ["name", "Claretha Keeling"], ["description", "Necessitatibus rerum veritatis consequatur cumque occaecati sed inventore nobis. Optio quam sunt aut facilis aut. Unde eum sunt dignissimos veritatis sed autem magni. Minima minus saepe autem labore. Vel eos eum ab iure."], ["equipment_type_id", 6], ["created_at", "2018-09-05 19:27:41.702698"], ["updated_at", "2018-09-05 19:27:41.702698"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Stanley Doyle"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Stanley Doyle"], ["name", "Willena Braun"], ["description", "Nancie Bergstrom"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 6], ["created_at", "2018-09-05 19:27:41.707248"], ["updated_at", "2018-09-05 19:27:41.707248"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Renita Haley"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Colleen Goldner"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Renita Haley"], ["name", "Colleen Goldner"], ["description", "Sandee Prohaska"], ["created_at", "2018-09-05 19:27:41.713152"], ["updated_at", "2018-09-05 19:27:41.713152"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Ria Fay"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Ria Fay"], ["name", "Julian Price"], ["location_type_id", 6], ["description", "Ariel Koelpin"], ["address", "Kyra Bahringer"], ["created_at", "2018-09-05 19:27:41.717459"], ["updated_at", "2018-09-05 19:27:41.717459"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Joaquina Lemke"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Shonna Kris"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Joaquina Lemke"], ["name", "Andria Wisoky"], ["description", "Genie Kunde"], ["serial_number", "Shonna Kris"], ["brand", "Aubrey Sporer"], ["item_model", "Elease Becker"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 6], ["current_location_id", 6], ["created_at", "2018-09-05 19:27:41.722908"], ["updated_at", "2018-09-05 19:27:41.722908"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jeffery_homenick@kling.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kizzie Bode"], ["last_name", "Keven Goodwin"], ["email", "jeffery_homenick@kling.us"], ["password_digest", "$2a$04$GuGzlgxT0rRL9ZoVtU9mQenvy/vOihgv1isae/oybJsO/l4bEGW66"], ["created_at", "2018-09-05 19:27:41.729876"], ["updated_at", "2018-09-05 19:27:41.729876"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "january@bruen.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alfonso Stamm"], ["last_name", "Taylor Moen"], ["email", "january@bruen.name"], ["password_digest", "$2a$04$a6xGOMvQ7A7Lfw/u.psovuMIZ4ukwojaKcPcQmyWQ1jecGj3r0Niy"], ["created_at", "2018-09-05 19:27:41.735953"], ["updated_at", "2018-09-05 19:27:41.735953"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#create as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"22", "authorized_by"=>"Cathi Nienow", "authorized_on"=>"2018-09-05", "created_by_id"=>"21", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"16", "chargeable_service_name"=>"Ludie Huels", "equipment_item_id"=>"5", "equipment_item_name"=>"Andria Wisoky", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 5.4ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "bambi@hoegergrimes.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Antony Stehr"], ["last_name", "Alexander Lindgren"], ["email", "bambi@hoegergrimes.com"], ["password_digest", "$2a$04$6u/d13IcuEYAr/WocO24P.L.rszCdmHD2DSlkoo3DtYv.AVrGUxnO"], ["created_at", "2018-09-05 19:27:41.759436"], ["updated_at", "2018-09-05 19:27:41.759436"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lavonna.bahringer@smitham.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Trent Lehner"], ["last_name", "Sunday Schowalter"], ["email", "lavonna.bahringer@smitham.biz"], ["password_digest", "$2a$04$t3Glc1jwQRc3jvb663Zd2e60WjvzjNARiRI/UaL3gBDecJtXvbmF."], ["created_at", "2018-09-05 19:27:41.770653"], ["updated_at", "2018-09-05 19:27:41.770653"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marlena@langoshgerhold.us"], ["LIMIT", 1]] Mks::Auth::User Create (2.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Delorse Metz"], ["last_name", "Caprice Aufderhar"], ["email", "marlena@langoshgerhold.us"], ["password_digest", "$2a$04$Q/.L1NkTq7Xlk0mXBQ0J/eV3j5aIow5foy7R8iqM5yTH.kz179jFK"], ["created_at", "2018-09-05 19:27:41.781455"], ["updated_at", "2018-09-05 19:27:41.781455"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cheree Abshire"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (3.2ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Cheree Abshire"], ["authorized_by", "Tyler Wolff"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 24], ["approved_by_id", 25], ["created_at", "2018-09-05 19:27:41.791822"], ["updated_at", "2018-09-05 19:27:41.791822"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"authorized_by"=>"Raymond Kreiger"}, "id"=>"5"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (1.2ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Cheree Abshire"], ["id", 5], ["LIMIT", 1]] Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.9ms) UPDATE "mks_rate_rate_change_requests" SET "authorized_by" = $1, "updated_at" = $2 WHERE "mks_rate_rate_change_requests"."id" = $3 [["authorized_by", "Raymond Kreiger"], ["updated_at", "2018-09-05 19:27:41.812203"], ["id", 5]]  (1.0ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.25ms) Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.56ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 9.9ms) Mks::Rate::RateChangeRequest Load (1.3ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]  (1.1ms) ROLLBACK  (0.7ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "delores.kutch@schroederrunte.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Minta Pacocha"], ["last_name", "Genesis Ernser"], ["email", "delores.kutch@schroederrunte.ca"], ["password_digest", "$2a$04$B.JzPlKWzhhg0MrJ/FzqruE0XfZlkDXv2d.XaulxaWUc1synosAq6"], ["created_at", "2018-09-05 19:27:41.834489"], ["updated_at", "2018-09-05 19:27:41.834489"]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "hilma@gusikowski.info"], ["LIMIT", 1]] Mks::Auth::User Create (2.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Nancee Romaguera"], ["last_name", "Spencer Kutch"], ["email", "hilma@gusikowski.info"], ["password_digest", "$2a$04$40.SeRaeNqTAAW.AVQyyyuHcDkKaqu39mQMSQWufBjB8YNGvS8isu"], ["created_at", "2018-09-05 19:27:41.846189"], ["updated_at", "2018-09-05 19:27:41.846189"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "stephaine_mills@dubuque.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Regena Ferry"], ["last_name", "Carolina Franecki"], ["email", "stephaine_mills@dubuque.com"], ["password_digest", "$2a$04$8BkHIywrE/F8J.ODnr65lOe2InzCvWUzewrnUUBtY.L/Hrd5Tvw0u"], ["created_at", "2018-09-05 19:27:41.857656"], ["updated_at", "2018-09-05 19:27:41.857656"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Latesha Weimann"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.3ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Latesha Weimann"], ["authorized_by", "Renna Ledner"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 27], ["approved_by_id", 28], ["created_at", "2018-09-05 19:27:41.864386"], ["updated_at", "2018-09-05 19:27:41.864386"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jada Kihn"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tony Littel"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jada Kihn"], ["name", "Tony Littel"], ["created_at", "2018-09-05 19:27:41.873948"], ["updated_at", "2018-09-05 19:27:41.873948"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cassidy Abshire"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cassidy Abshire"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.882162"], ["updated_at", "2018-09-05 19:27:41.882162"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Randee Green"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Randee Green"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.891866"], ["updated_at", "2018-09-05 19:27:41.891866"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Brittny Beer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Brittny Beer"], ["name", "Carlyn Abbott"], ["address", "Antonietta Graham"], ["created_at", "2018-09-05 19:27:41.900759"], ["updated_at", "2018-09-05 19:27:41.900759"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Brooke Schiller"], ["service_delivery_unit_id", 17], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Brooke Schiller"], ["name", "Marlen Hirthe"], ["service_type_id", 19], ["base_unit_id", 37], ["utilization_unit_id", 38], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 19:27:41.910894"], ["updated_at", "2018-09-05 19:27:41.910894"]] Mks::Rate::ServiceDeliveryUnit Load (1.1ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Brooke Schiller"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Brooke Schiller"], ["name", "Marlen Hirthe"], ["description", "Default bundle for service 'Marlen Hirthe'"], ["service_delivery_unit_id", 17], ["created_at", "2018-09-05 19:27:41.920032"], ["updated_at", "2018-09-05 19:27:41.920032"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 18], ["chargeable_service_id", 18]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Eusebia Bernhard"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Robby Parker"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Eusebia Bernhard"], ["name", "Robby Parker"], ["created_at", "2018-09-05 19:27:41.936572"], ["updated_at", "2018-09-05 19:27:41.936572"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mose Eichmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mose Eichmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.945800"], ["updated_at", "2018-09-05 19:27:41.945800"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hanna Hyatt"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hanna Hyatt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:41.955077"], ["updated_at", "2018-09-05 19:27:41.955077"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lean Pfeffer"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lean Pfeffer"], ["name", "Ramonita Abernathy"], ["address", "Yetta Becker"], ["created_at", "2018-09-05 19:27:41.965621"], ["updated_at", "2018-09-05 19:27:41.965621"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Chun Schaefer"], ["service_delivery_unit_id", 18], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (3.3ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Chun Schaefer"], ["name", "Su Kreiger"], ["service_type_id", 20], ["base_unit_id", 39], ["utilization_unit_id", 40], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 19:27:41.977226"], ["updated_at", "2018-09-05 19:27:41.977226"]] Mks::Rate::ServiceDeliveryUnit Load (1.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Chun Schaefer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Chun Schaefer"], ["name", "Su Kreiger"], ["description", "Default bundle for service 'Su Kreiger'"], ["service_delivery_unit_id", 18], ["created_at", "2018-09-05 19:27:41.989498"], ["updated_at", "2018-09-05 19:27:41.989498"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 19], ["chargeable_service_id", 19]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (4.3ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Joanna Schultz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Ingeborg Abbott"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Joanna Schultz"], ["name", "Ingeborg Abbott"], ["description", "Cum dolor laudantium veniam odio omnis tempore alias. Ipsa nisi est maiores et. Placeat et inventore aliquam voluptatum ipsam voluptatem ut. Magnam voluptates voluptatem velit sunt recusandae doloremque."], ["created_at", "2018-09-05 19:27:42.015487"], ["updated_at", "2018-09-05 19:27:42.015487"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Wayne Upton"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Melba McDermott"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.1ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Wayne Upton"], ["name", "Melba McDermott"], ["description", "Laboriosam eos dolorem et distinctio cupiditate dolores nihil rerum. Libero ut enim omnis totam. Sint quidem quasi ut libero neque. Ab dolorum pariatur perspiciatis debitis dolor et in. Vel cupiditate sed pariatur qui vitae rerum qui voluptates."], ["equipment_type_id", 7], ["created_at", "2018-09-05 19:27:42.027085"], ["updated_at", "2018-09-05 19:27:42.027085"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Masako Schultz"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Masako Schultz"], ["name", "Arnoldo Stark"], ["description", "Annamaria Hammes"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 7], ["created_at", "2018-09-05 19:27:42.032210"], ["updated_at", "2018-09-05 19:27:42.032210"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Maryellen Trantow"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Romana Jast"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maryellen Trantow"], ["name", "Romana Jast"], ["description", "Somer Heller"], ["created_at", "2018-09-05 19:27:42.039203"], ["updated_at", "2018-09-05 19:27:42.039203"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Meghan Schaden"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.2ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Meghan Schaden"], ["name", "Vanesa Beatty"], ["location_type_id", 7], ["description", "Tomi Streich"], ["address", "Magnolia Stamm"], ["created_at", "2018-09-05 19:27:42.043995"], ["updated_at", "2018-09-05 19:27:42.043995"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Carma Jacobi"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Thi Oberbrunner"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Carma Jacobi"], ["name", "Rita Rogahn"], ["description", "Alvaro Schimmel"], ["serial_number", "Thi Oberbrunner"], ["brand", "Cortney Schimmel"], ["item_model", "Roger Nienow"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 7], ["current_location_id", 7], ["created_at", "2018-09-05 19:27:42.053049"], ["updated_at", "2018-09-05 19:27:42.053049"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Lakia Friesen"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Frances Wuckert"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.1ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lakia Friesen"], ["name", "Frances Wuckert"], ["description", "Debitis explicabo dolore est et. Voluptas sed exercitationem aliquam aut sequi. Sint et enim non sunt nobis."], ["created_at", "2018-09-05 19:27:42.061395"], ["updated_at", "2018-09-05 19:27:42.061395"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Darcel Parisian"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Stasia Eichmann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Darcel Parisian"], ["name", "Stasia Eichmann"], ["description", "Temporibus in voluptas et libero inventore dicta numquam fugit. Labore commodi porro sint quam voluptatibus repellendus delectus. Temporibus distinctio suscipit sint quo atque. Quasi culpa quia qui porro et tenetur atque quas. Quod in vitae enim blanditiis odio molestiae dolorum."], ["equipment_type_id", 8], ["created_at", "2018-09-05 19:27:42.067828"], ["updated_at", "2018-09-05 19:27:42.067828"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Yuk O'Reilly"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.5ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Yuk O'Reilly"], ["name", "Teena Torphy"], ["description", "Stasia Price"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 8], ["created_at", "2018-09-05 19:27:42.072444"], ["updated_at", "2018-09-05 19:27:42.072444"]]  (17.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Keturah Kertzmann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Thalia Mann"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Keturah Kertzmann"], ["name", "Thalia Mann"], ["description", "Blanche Hettinger"], ["created_at", "2018-09-05 19:27:42.098175"], ["updated_at", "2018-09-05 19:27:42.098175"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Natividad Hodkiewicz"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Natividad Hodkiewicz"], ["name", "Loria Senger"], ["location_type_id", 8], ["description", "Dorene Oberbrunner"], ["address", "Wally Goldner"], ["created_at", "2018-09-05 19:27:42.103301"], ["updated_at", "2018-09-05 19:27:42.103301"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Penny Ruecker"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Mindi Hodkiewicz"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.8ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Penny Ruecker"], ["name", "Breanna Raynor"], ["description", "Mallory Conn"], ["serial_number", "Mindi Hodkiewicz"], ["brand", "Lizette Hessel"], ["item_model", "Temika Larkin"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 8], ["current_location_id", 8], ["created_at", "2018-09-05 19:27:42.109033"], ["updated_at", "2018-09-05 19:27:42.109033"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "vi.rosenbaum@kertzmann.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Gidget Crooks"], ["last_name", "Lucrecia Cummings"], ["email", "vi.rosenbaum@kertzmann.com"], ["password_digest", "$2a$04$FgbwKbbrMcBjTzgMMT/SQ.c0w6qRjD2HHeXKRx48N58iHRWChho.i"], ["created_at", "2018-09-05 19:27:42.115206"], ["updated_at", "2018-09-05 19:27:42.115206"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ruthann.schulist@keebler.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Verena O'Connell"], ["last_name", "Olivia Bahringer"], ["email", "ruthann.schulist@keebler.name"], ["password_digest", "$2a$04$R/6pSTJlMWJldkbZr7pxNuz.kph45SPXXNQRfmYzzHedguSeezY5O"], ["created_at", "2018-09-05 19:27:42.121116"], ["updated_at", "2018-09-05 19:27:42.121116"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"30", "authorized_by"=>"Gilda Zboncak", "authorized_on"=>"2018-09-05", "created_by_id"=>"29", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"18", "chargeable_service_name"=>"Su Kreiger", "equipment_item_id"=>"7", "equipment_item_name"=>"Breanna Raynor", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"Suzanne Powlowski", "status"=>"SUBMITTED"}, "id"=>"6"} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.7ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Suzanne Powlowski"], ["id", 6], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "reference_number" = $1, "authorized_by" = $2, "created_by_id" = $3, "approved_by_id" = $4, "rates" = $5, "updated_at" = $6 WHERE "mks_rate_rate_change_requests"."id" = $7 [["reference_number", "Suzanne Powlowski"], ["authorized_by", "Gilda Zboncak"], ["created_by_id", 29], ["approved_by_id", 30], ["rates", "[{\"chargeable_service_id\":\"18\",\"chargeable_service_name\":\"Su Kreiger\",\"equipment_item_id\":\"7\",\"equipment_item_name\":\"Breanna Raynor\",\"base_rate\":\"10\",\"utilization_rate\":\"20\"}]"], ["updated_at", "2018-09-05 19:27:42.132058"], ["id", 6]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::RateChangeRequest (0.18ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.37ms) Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 5.4ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.7ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "alexis_steuber@schuster.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Rosetta Casper"], ["last_name", "Isaac Mayert"], ["email", "alexis_steuber@schuster.name"], ["password_digest", "$2a$04$ERaJbhCNRiudnRIuORakJO7DItFv.t7gkrRW257lrCmoDcxfkUxDq"], ["created_at", "2018-09-05 19:27:42.144935"], ["updated_at", "2018-09-05 19:27:42.144935"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "reynalda_mitchell@runolfssonlittel.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Zina Kulas"], ["last_name", "Lauri Cremin"], ["email", "reynalda_mitchell@runolfssonlittel.us"], ["password_digest", "$2a$04$oF3KzDR.ex4ma7EJC9z14eSVbhz3S0MkGHih06mDRmaJ4ThDDaSI."], ["created_at", "2018-09-05 19:27:42.152923"], ["updated_at", "2018-09-05 19:27:42.152923"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "shanti.hahn@goyette.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Dorathy Renner"], ["last_name", "Tressie Kunde"], ["email", "shanti.hahn@goyette.name"], ["password_digest", "$2a$04$DgkD4WvRfGnBWkZRUum4K.on/2tya6wmonyIn15etpyLL2iEb4126"], ["created_at", "2018-09-05 19:27:42.160826"], ["updated_at", "2018-09-05 19:27:42.160826"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Cordelia Bradtke"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.3ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Cordelia Bradtke"], ["authorized_by", "Isabelle Trantow"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 32], ["approved_by_id", 33], ["created_at", "2018-09-05 19:27:42.165760"], ["updated_at", "2018-09-05 19:27:42.165760"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Magen Johnston"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jamey Lakin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Magen Johnston"], ["name", "Jamey Lakin"], ["created_at", "2018-09-05 19:27:42.174512"], ["updated_at", "2018-09-05 19:27:42.174512"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sibyl Brakus"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sibyl Brakus"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.179121"], ["updated_at", "2018-09-05 19:27:42.179121"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lita Wiegand"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lita Wiegand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.183503"], ["updated_at", "2018-09-05 19:27:42.183503"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Bernadine Hintz"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bernadine Hintz"], ["name", "Mac Hahn"], ["address", "Sophie Rempel"], ["created_at", "2018-09-05 19:27:42.187748"], ["updated_at", "2018-09-05 19:27:42.187748"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Curt Stroman"], ["service_delivery_unit_id", 19], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Curt Stroman"], ["name", "Jamaal Heaney"], ["service_type_id", 21], ["base_unit_id", 41], ["utilization_unit_id", 42], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 19:27:42.192787"], ["updated_at", "2018-09-05 19:27:42.192787"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Curt Stroman"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Curt Stroman"], ["name", "Jamaal Heaney"], ["description", "Default bundle for service 'Jamaal Heaney'"], ["service_delivery_unit_id", 19], ["created_at", "2018-09-05 19:27:42.197536"], ["updated_at", "2018-09-05 19:27:42.197536"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.4ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 20], ["chargeable_service_id", 20]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Van Rau"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Elanor Glover"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Van Rau"], ["name", "Elanor Glover"], ["created_at", "2018-09-05 19:27:42.208318"], ["updated_at", "2018-09-05 19:27:42.208318"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Isaias Koss"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Isaias Koss"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.213327"], ["updated_at", "2018-09-05 19:27:42.213327"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sherron Prosacco"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sherron Prosacco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.217903"], ["updated_at", "2018-09-05 19:27:42.217903"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Jasper Rutherford"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jasper Rutherford"], ["name", "Sheron Hyatt"], ["address", "Andre Durgan"], ["created_at", "2018-09-05 19:27:42.222568"], ["updated_at", "2018-09-05 19:27:42.222568"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sterling Romaguera"], ["service_delivery_unit_id", 20], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sterling Romaguera"], ["name", "Nyla Upton"], ["service_type_id", 22], ["base_unit_id", 43], ["utilization_unit_id", 44], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 19:27:42.227571"], ["updated_at", "2018-09-05 19:27:42.227571"]] Mks::Rate::ServiceDeliveryUnit Load (1.1ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sterling Romaguera"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sterling Romaguera"], ["name", "Nyla Upton"], ["description", "Default bundle for service 'Nyla Upton'"], ["service_delivery_unit_id", 20], ["created_at", "2018-09-05 19:27:42.234895"], ["updated_at", "2018-09-05 19:27:42.234895"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.3ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 21], ["chargeable_service_id", 21]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Tori Mertz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Leslee Dickinson"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tori Mertz"], ["name", "Leslee Dickinson"], ["description", "Et iusto voluptatum numquam ut est voluptatem nostrum. Officiis rerum sunt molestiae perspiciatis. Consectetur non impedit et quis et esse et."], ["created_at", "2018-09-05 19:27:42.253375"], ["updated_at", "2018-09-05 19:27:42.253375"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Oneida Hayes"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Sean Jaskolski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Oneida Hayes"], ["name", "Sean Jaskolski"], ["description", "Ad adipisci neque qui est dicta. Sint laborum non quia similique. Dignissimos quia corrupti quaerat et."], ["equipment_type_id", 9], ["created_at", "2018-09-05 19:27:42.262783"], ["updated_at", "2018-09-05 19:27:42.262783"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Romeo Hane"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.8ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Romeo Hane"], ["name", "Glen Frami"], ["description", "Zachary Pollich"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 9], ["created_at", "2018-09-05 19:27:42.267416"], ["updated_at", "2018-09-05 19:27:42.267416"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Lieselotte Douglas"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Eneida Smith"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lieselotte Douglas"], ["name", "Eneida Smith"], ["description", "Tobi Predovic"], ["created_at", "2018-09-05 19:27:42.273603"], ["updated_at", "2018-09-05 19:27:42.273603"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Emeline Legros"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Emeline Legros"], ["name", "Angelo Dickinson"], ["location_type_id", 9], ["description", "Woodrow Hermann"], ["address", "Kenny Macejkovic"], ["created_at", "2018-09-05 19:27:42.277929"], ["updated_at", "2018-09-05 19:27:42.277929"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Keshia Williamson"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Roseline Kassulke"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Keshia Williamson"], ["name", "Nevada Muller"], ["description", "Elias Nienow"], ["serial_number", "Roseline Kassulke"], ["brand", "Katherin Davis"], ["item_model", "Janiece Harber"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 9], ["current_location_id", 9], ["created_at", "2018-09-05 19:27:42.283389"], ["updated_at", "2018-09-05 19:27:42.283389"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Junie Schmeler"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Kaila Hills"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Junie Schmeler"], ["name", "Kaila Hills"], ["description", "Possimus asperiores in consequuntur nihil ipsa. Et sit enim et perspiciatis quis dolores. Vel aut illo est ea provident temporibus molestias."], ["created_at", "2018-09-05 19:27:42.290093"], ["updated_at", "2018-09-05 19:27:42.290093"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Ashleigh Little"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Mohammed Auer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.0ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Ashleigh Little"], ["name", "Mohammed Auer"], ["description", "Voluptas repellat enim reiciendis atque. Ut similique et natus quam nihil dolor aspernatur. Ab atque mollitia voluptatem sint. Et explicabo eligendi doloribus fugiat sed et inventore modi."], ["equipment_type_id", 10], ["created_at", "2018-09-05 19:27:42.295443"], ["updated_at", "2018-09-05 19:27:42.295443"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Linda Hilll"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Linda Hilll"], ["name", "Ida McDermott"], ["description", "Zackary Cummings"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 10], ["created_at", "2018-09-05 19:27:42.300780"], ["updated_at", "2018-09-05 19:27:42.300780"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Coletta Satterfield"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Kia Strosin"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Coletta Satterfield"], ["name", "Kia Strosin"], ["description", "Hiroko Kutch"], ["created_at", "2018-09-05 19:27:42.308904"], ["updated_at", "2018-09-05 19:27:42.308904"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Felica McDermott"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Felica McDermott"], ["name", "Ute Heller"], ["location_type_id", 10], ["description", "Mellissa Stiedemann"], ["address", "Josephine Johns"], ["created_at", "2018-09-05 19:27:42.313380"], ["updated_at", "2018-09-05 19:27:42.313380"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Ozie Crona"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Cleo Howell"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Ozie Crona"], ["name", "Kathey Abernathy"], ["description", "Rogelio Labadie"], ["serial_number", "Cleo Howell"], ["brand", "Andre Gerlach"], ["item_model", "Marivel Kulas"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 10], ["current_location_id", 10], ["created_at", "2018-09-05 19:27:42.319364"], ["updated_at", "2018-09-05 19:27:42.319364"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "rosemary.homenick@rosenbaum.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Jammie Torphy"], ["last_name", "Regena Harber"], ["email", "rosemary.homenick@rosenbaum.ca"], ["password_digest", "$2a$04$RSprhMbMeaR8AzLshzl.FO5yiZdLJuYmcKQgItONwJ0QTHyqQV0ey"], ["created_at", "2018-09-05 19:27:42.326126"], ["updated_at", "2018-09-05 19:27:42.326126"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "catrice@hintz.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Wynona Franecki"], ["last_name", "Margo Upton"], ["email", "catrice@hintz.us"], ["password_digest", "$2a$04$8eO0q.8g7ffJF31bJlJ2vuwuMezLO3ztJmMumLfJaciOHLg323KWy"], ["created_at", "2018-09-05 19:27:42.333253"], ["updated_at", "2018-09-05 19:27:42.333253"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::RateChangeRequestsController#update as HTML Parameters: {"rate_change_request"=>{"approved_by_id"=>"35", "authorized_by"=>"Elli Collins", "authorized_on"=>"2018-09-05", "created_by_id"=>"34", "effective_on"=>"2018-09-05", "rates"=>[{"chargeable_service_id"=>"20", "chargeable_service_name"=>"Nyla Upton", "equipment_item_id"=>"9", "equipment_item_name"=>"Kathey Abernathy", "base_rate"=>"10", "utilization_rate"=>"20"}], "reference_number"=>"", "status"=>"SUBMITTED"}, "id"=>"7"} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Load (0.9ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", ""], ["id", 7], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 422 Unprocessable Entity in 11ms (Views: 1.1ms | ActiveRecord: 5.2ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "arlie@schroeder.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.6ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shandi Marks"], ["last_name", "Fausto Becker"], ["email", "arlie@schroeder.com"], ["password_digest", "$2a$04$MMhulFlxb005B6j6TPki..5ENvOL1vz/g1s6gTuWwpr44IeaQKxDq"], ["created_at", "2018-09-05 19:27:42.359332"], ["updated_at", "2018-09-05 19:27:42.359332"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Domingo Ankunding"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Domingo Ankunding"], ["name", "Joseph Dach"], ["address", "Crysta Waelchi"], ["created_at", "2018-09-05 19:27:42.367094"], ["updated_at", "2018-09-05 19:27:42.367094"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Samatha Champlin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Samatha Champlin"], ["name", "Lovella Bergnaum"], ["description", "Kiley Gerlach"], ["percent_discount", 100.0], ["service_delivery_unit_id", 21], ["created_at", "2018-09-05 19:27:42.377081"], ["updated_at", "2018-09-05 19:27:42.377081"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (2.21ms) Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 3.0ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jackeline_shanahan@reichel.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Faviola Schowalter"], ["last_name", "Tawnya Dickinson"], ["email", "jackeline_shanahan@reichel.info"], ["password_digest", "$2a$04$sNA0PvH7s3VYkXa99.J8yenmqJ3rQTwlMJ5HCjzTqmEVshmXpT9Wm"], ["created_at", "2018-09-05 19:27:42.398334"], ["updated_at", "2018-09-05 19:27:42.398334"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ramonita Ratke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ramonita Ratke"], ["name", "Kelvin Kling"], ["address", "Ronny Haag"], ["created_at", "2018-09-05 19:27:42.405153"], ["updated_at", "2018-09-05 19:27:42.405153"]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Oda Brekke"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Oda Brekke"], ["name", "Isreal Marks"], ["description", "Georgina Kunde"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.414505"], ["updated_at", "2018-09-05 19:27:42.414505"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cleopatra Balistreri"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Cleopatra Balistreri"], ["name", "Bess Koch"], ["description", "Oliver Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.420970"], ["updated_at", "2018-09-05 19:27:42.420970"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Petrina Bednar"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Petrina Bednar"], ["name", "Mireille Block"], ["description", "Marni Terry"], ["percent_discount", 100.0], ["service_delivery_unit_id", 22], ["created_at", "2018-09-05 19:27:42.426313"], ["updated_at", "2018-09-05 19:27:42.426313"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"22"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 22]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (4.37ms) Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 4.4ms)  (0.8ms) ROLLBACK  (1.2ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "thad@reinger.us"], ["LIMIT", 1]] Mks::Auth::User Create (2.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Gerald Streich"], ["last_name", "Grady Wolff"], ["email", "thad@reinger.us"], ["password_digest", "$2a$04$mlmAFDoNpbk7wydMrb55v.d5OUHf0SodsD9UXKKalaHHNIKHF./g2"], ["created_at", "2018-09-05 19:27:42.453366"], ["updated_at", "2018-09-05 19:27:42.453366"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Akiko Moore"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Akiko Moore"], ["name", "Neva Corkery"], ["address", "Tandra Bins"], ["created_at", "2018-09-05 19:27:42.461690"], ["updated_at", "2018-09-05 19:27:42.461690"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kandy Fadel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.7ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kandy Fadel"], ["name", "Racquel D'Amore"], ["description", "Verdie Williamson"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.468017"], ["updated_at", "2018-09-05 19:27:42.468017"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jared Smitham"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jared Smitham"], ["name", "Joey Murphy"], ["description", "Claudia Erdman"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.474386"], ["updated_at", "2018-09-05 19:27:42.474386"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nicolasa Wehner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nicolasa Wehner"], ["name", "Macie Murray"], ["description", "Patrina Rippin"], ["percent_discount", 100.0], ["service_delivery_unit_id", 23], ["created_at", "2018-09-05 19:27:42.479462"], ["updated_at", "2018-09-05 19:27:42.479462"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rozanne Prosacco"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rozanne Prosacco"], ["name", "Percy Ledner"], ["address", "Kate Donnelly"], ["created_at", "2018-09-05 19:27:42.484256"], ["updated_at", "2018-09-05 19:27:42.484256"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tanna Padberg"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tanna Padberg"], ["name", "Gregoria Pagac"], ["description", "Royce Yost"], ["percent_discount", 100.0], ["service_delivery_unit_id", 24], ["created_at", "2018-09-05 19:27:42.488608"], ["updated_at", "2018-09-05 19:27:42.488608"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Julee Lind"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Julee Lind"], ["name", "Trang DuBuque"], ["address", "Cassie Lindgren"], ["created_at", "2018-09-05 19:27:42.494652"], ["updated_at", "2018-09-05 19:27:42.494652"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Oretha Fahey"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Oretha Fahey"], ["name", "Fidela Funk"], ["description", "Carly Hilpert"], ["percent_discount", 100.0], ["service_delivery_unit_id", 25], ["created_at", "2018-09-05 19:27:42.502777"], ["updated_at", "2018-09-05 19:27:42.502777"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lucina Ward"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lucina Ward"], ["name", "Hae Krajcik"], ["address", "Jamika Renner"], ["created_at", "2018-09-05 19:27:42.510660"], ["updated_at", "2018-09-05 19:27:42.510660"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kandice Denesik"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kandice Denesik"], ["name", "Luis Yundt"], ["description", "Dale Kreiger"], ["percent_discount", 100.0], ["service_delivery_unit_id", 26], ["created_at", "2018-09-05 19:27:42.516385"], ["updated_at", "2018-09-05 19:27:42.516385"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#sdu_bundles as HTML Parameters: {"id"=>"23"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."service_delivery_unit_id" = $1 [["service_delivery_unit_id", 23]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.24ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 4.3ms)  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "blossom@oconnell.com"], ["LIMIT", 1]] Mks::Auth::User Create (2.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Latrice Mueller"], ["last_name", "Myra Krajcik"], ["email", "blossom@oconnell.com"], ["password_digest", "$2a$04$jk94JHskVsVyLB1629PNee1B.E9AG2hvLj04T/Lt1ifgfSsGj43VG"], ["created_at", "2018-09-05 19:27:42.544616"], ["updated_at", "2018-09-05 19:27:42.544616"]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marquetta Kunde"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marquetta Kunde"], ["name", "Jimmy Mayert"], ["address", "Jermaine Kihn"], ["created_at", "2018-09-05 19:27:42.558033"], ["updated_at", "2018-09-05 19:27:42.558033"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Margarett Windler"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Margarett Windler"], ["name", "Carina Tremblay"], ["description", "Julie Hilll"], ["percent_discount", 100.0], ["service_delivery_unit_id", 27], ["created_at", "2018-09-05 19:27:42.569542"], ["updated_at", "2018-09-05 19:27:42.569542"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#show as HTML Parameters: {"id"=>"32"} Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Auth::User Load (1.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.1ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (2.84ms) Completed 200 OK in 14ms (Views: 3.7ms | ActiveRecord: 6.1ms)  (1.8ms) ROLLBACK  (1.2ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "darron.frami@kuvalis.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.5ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Theressa Ondricka"], ["last_name", "Tashina Haag"], ["email", "darron.frami@kuvalis.us"], ["password_digest", "$2a$04$9ymLh.SM6UUpkGDgG1HSmOOxJnFVewhx5kNop1ZMDbrjefjrtutri"], ["created_at", "2018-09-05 19:27:42.605532"], ["updated_at", "2018-09-05 19:27:42.605532"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Alix Barrows"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Alix Barrows"], ["name", "Denice Schroeder"], ["address", "Cindi Simonis"], ["created_at", "2018-09-05 19:27:42.618341"], ["updated_at", "2018-09-05 19:27:42.618341"]]  (1.7ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jene Huel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (5.4ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jene Huel"], ["name", "First Service Bundle"], ["description", "Buddy Tremblay"], ["percent_discount", 100.0], ["service_delivery_unit_id", 28], ["created_at", "2018-09-05 19:27:42.628884"], ["updated_at", "2018-09-05 19:27:42.628884"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carlotta Gulgowski"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carlotta Gulgowski"], ["name", "Stephen Fritsch"], ["address", "Noma Doyle"], ["created_at", "2018-09-05 19:27:42.645988"], ["updated_at", "2018-09-05 19:27:42.645988"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (2.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (3.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Masako Swift"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Masako Swift"], ["name", "Second Service Bundle"], ["description", "Lana Satterfield"], ["percent_discount", 100.0], ["service_delivery_unit_id", 29], ["created_at", "2018-09-05 19:27:42.657970"], ["updated_at", "2018-09-05 19:27:42.657970"]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (1.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.41ms) Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 7.2ms) Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"Service"} Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Auth::User Load (2.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%service%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (2.1ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (5.83ms) Completed 200 OK in 16ms (Views: 5.2ms | ActiveRecord: 16.3ms)  (2.2ms) ROLLBACK  (1.2ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "charlette_mills@klocko.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (2.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Stan Bahringer"], ["last_name", "Sofia Maggio"], ["email", "charlette_mills@klocko.co.uk"], ["password_digest", "$2a$04$/o3nWvwLf3NH1gU/HM/QZO2NOoXL.jVre4GwPgfXl.h5xcB28DKfC"], ["created_at", "2018-09-05 19:27:42.712430"], ["updated_at", "2018-09-05 19:27:42.712430"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Thao Cole"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Thao Cole"], ["name", "Lemuel Abernathy"], ["address", "Dawne Mraz"], ["created_at", "2018-09-05 19:27:42.721742"], ["updated_at", "2018-09-05 19:27:42.721742"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Boris Cummings"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Boris Cummings"], ["name", "FIRst Service Bundle"], ["description", "Dagny Fay"], ["percent_discount", 100.0], ["service_delivery_unit_id", 30], ["created_at", "2018-09-05 19:27:42.728954"], ["updated_at", "2018-09-05 19:27:42.728954"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Neoma Bode"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Neoma Bode"], ["name", "Tilda Wiza"], ["address", "Loreta Steuber"], ["created_at", "2018-09-05 19:27:42.738438"], ["updated_at", "2018-09-05 19:27:42.738438"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Federico Pollich"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Federico Pollich"], ["name", "Second Service Bundle for the firST time"], ["description", "Courtney Pfannerstill"], ["percent_discount", 100.0], ["service_delivery_unit_id", 31], ["created_at", "2018-09-05 19:27:42.742834"], ["updated_at", "2018-09-05 19:27:42.742834"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#filter as HTML Parameters: {"search"=>"First"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE (lower(mks_rate_service_bundles.name) LIKE '%first%') [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (3.34ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 4.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "romelia@kessler.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alita Kuhic"], ["last_name", "Randall Schumm"], ["email", "romelia@kessler.co.uk"], ["password_digest", "$2a$04$qXbKvKrfX3gxi4zgbxEyAOq0WpdA136VdADzoR1KqC/HjgmQCUP6S"], ["created_at", "2018-09-05 19:27:42.763546"], ["updated_at", "2018-09-05 19:27:42.763546"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Sheryl Leuschke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Sheryl Leuschke"], ["name", "Thuy DuBuque"], ["address", "Farah Leuschke"], ["created_at", "2018-09-05 19:27:42.770470"], ["updated_at", "2018-09-05 19:27:42.770470"]]  (1.9ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Jodi Marks", "description"=>"Clemente Stokes", "name"=>"Delmy Barton", "service_delivery_unit_id"=>"32"}} Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (1.5ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jodi Marks"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (2.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jodi Marks"], ["name", "Delmy Barton"], ["description", "Clemente Stokes"], ["service_delivery_unit_id", 32], ["created_at", "2018-09-05 19:27:42.789052"], ["updated_at", "2018-09-05 19:27:42.789052"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.35ms) Completed 201 Created in 21ms (Views: 2.5ms | ActiveRecord: 10.6ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_bundles"  (1.0ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "divina.hayes@monahan.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Carma Runolfsson"], ["last_name", "Williemae Schmeler"], ["email", "divina.hayes@monahan.name"], ["password_digest", "$2a$04$mhL5MASwO.aMPC2WGYoTduMF8NEnyDJh3aynYITNwHUEjRzjrfl92"], ["created_at", "2018-09-05 19:27:42.810655"], ["updated_at", "2018-09-05 19:27:42.810655"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cheryll Franecki"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (2.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cheryll Franecki"], ["name", "Zane Jast"], ["address", "Magnolia Stokes"], ["created_at", "2018-09-05 19:27:42.819541"], ["updated_at", "2018-09-05 19:27:42.819541"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"Digna Wunsch", "description"=>"Becky Turcotte", "name"=>"Corrinne Jast", "service_delivery_unit_id"=>"33"}} Mks::Auth::User Load (1.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Digna Wunsch"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Digna Wunsch"], ["name", "Corrinne Jast"], ["description", "Becky Turcotte"], ["service_delivery_unit_id", 33], ["created_at", "2018-09-05 19:27:42.832318"], ["updated_at", "2018-09-05 19:27:42.832318"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.24ms) Completed 201 Created in 14ms (Views: 1.6ms | ActiveRecord: 7.2ms) Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ashley_stracke@schiller.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lieselotte Homenick"], ["last_name", "Alphonso Doyle"], ["email", "ashley_stracke@schiller.ca"], ["password_digest", "$2a$04$WN8FZ5z1xEb6xgb39MUHHOYABkqj.DIAhCUNGLyLILX4Impb1MO82"], ["created_at", "2018-09-05 19:27:42.848728"], ["updated_at", "2018-09-05 19:27:42.848728"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mirtha Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mirtha Mitchell"], ["name", "Dorothy Bins"], ["address", "Lorri Dickens"], ["created_at", "2018-09-05 19:27:42.853986"], ["updated_at", "2018-09-05 19:27:42.853986"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#create as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Martina Hirthe", "name"=>"Cliff Schaefer", "service_delivery_unit_id"=>"34"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.1ms) Completed 422 Unprocessable Entity in 15ms (Views: 6.3ms | ActiveRecord: 4.9ms)  (1.3ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "clora.jacobs@farrellemard.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Brigida Mueller"], ["last_name", "Shan Leannon"], ["email", "clora.jacobs@farrellemard.us"], ["password_digest", "$2a$04$aH2vgvXi8XmClnB.MPDNG.mt8ay3eVeWesv9HOmLvr75iPvNHvhtu"], ["created_at", "2018-09-05 19:27:42.884428"], ["updated_at", "2018-09-05 19:27:42.884428"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Carissa Dickinson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Carissa Dickinson"], ["name", "Ines Sipes"], ["address", "Etha Grimes"], ["created_at", "2018-09-05 19:27:42.907801"], ["updated_at", "2018-09-05 19:27:42.907801"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lakeshia Brakus"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Lakeshia Brakus"], ["name", "Diana Brakus"], ["description", "Claud Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 35], ["created_at", "2018-09-05 19:27:42.912801"], ["updated_at", "2018-09-05 19:27:42.912801"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Patrice Walker"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lonny Champlin"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Patrice Walker"], ["name", "Lonny Champlin"], ["created_at", "2018-09-05 19:27:42.919339"], ["updated_at", "2018-09-05 19:27:42.919339"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cecilia Kulas"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cecilia Kulas"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.925603"], ["updated_at", "2018-09-05 19:27:42.925603"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Karole Homenick"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Karole Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:42.930502"], ["updated_at", "2018-09-05 19:27:42.930502"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Chun Kuhlman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chun Kuhlman"], ["name", "Tonda Bartell"], ["address", "Lance Kuhn"], ["created_at", "2018-09-05 19:27:42.935454"], ["updated_at", "2018-09-05 19:27:42.935454"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Taunya Legros"], ["service_delivery_unit_id", 36], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Taunya Legros"], ["name", "Brianne Rippin"], ["service_type_id", 23], ["base_unit_id", 45], ["utilization_unit_id", 46], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 19:27:42.940120"], ["updated_at", "2018-09-05 19:27:42.940120"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Taunya Legros"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Taunya Legros"], ["name", "Brianne Rippin"], ["description", "Default bundle for service 'Brianne Rippin'"], ["service_delivery_unit_id", 36], ["created_at", "2018-09-05 19:27:42.945269"], ["updated_at", "2018-09-05 19:27:42.945269"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 40], ["chargeable_service_id", 22]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 39]] Processing by Mks::Rate::ServiceBundlesController#add_services as HTML Parameters: {"ids"=>["22"], "id"=>"39"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.8ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Unpermitted parameter: :id Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 2.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ernestina_jacobs@stiedemannsauer.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Gwyn Nienow"], ["last_name", "Katheryn Reinger"], ["email", "ernestina_jacobs@stiedemannsauer.name"], ["password_digest", "$2a$04$wO2/rhAuTSKAWtwXz6YQaeXY/c22TANjGNC9tALezzdKG8AmR6TO."], ["created_at", "2018-09-05 19:27:42.972574"], ["updated_at", "2018-09-05 19:27:42.972574"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Maragaret Lowe"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Maragaret Lowe"], ["name", "Bree Pfannerstill"], ["address", "Lesha Toy"], ["created_at", "2018-09-05 19:27:42.978171"], ["updated_at", "2018-09-05 19:27:42.978171"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Freddie Wolff"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Freddie Wolff"], ["name", "Ariana Kub"], ["description", "Sang Effertz"], ["percent_discount", 100.0], ["service_delivery_unit_id", 37], ["created_at", "2018-09-05 19:27:42.985889"], ["updated_at", "2018-09-05 19:27:42.985889"]]  (2.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"name"=>"Erlinda Ondricka"}, "id"=>"41"} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Freddie Wolff"], ["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (1.0ms) UPDATE "mks_rate_service_bundles" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_bundles"."id" = $3 [["name", "Erlinda Ondricka"], ["updated_at", "2018-09-05 19:27:43.003270"], ["id", 41]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.23ms) Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 7.1ms) Mks::Rate::ServiceBundle Load (0.9ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ismael@goodwinbosco.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Sasha Paucek"], ["last_name", "Bernadine Kassulke"], ["email", "ismael@goodwinbosco.name"], ["password_digest", "$2a$04$A6j9U5v3ATO.lmj9lzmDze.9pTcq2a3fJtbh0zE6sPAfTR31oRCUO"], ["created_at", "2018-09-05 19:27:43.017138"], ["updated_at", "2018-09-05 19:27:43.017138"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Simon Schulist"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Simon Schulist"], ["name", "Mina Bergstrom"], ["address", "Romana Wintheiser"], ["created_at", "2018-09-05 19:27:43.022043"], ["updated_at", "2018-09-05 19:27:43.022043"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kimiko Cartwright"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kimiko Cartwright"], ["name", "Kary Johns"], ["description", "Ricarda Goyette"], ["percent_discount", 100.0], ["service_delivery_unit_id", 38], ["created_at", "2018-09-05 19:27:43.027294"], ["updated_at", "2018-09-05 19:27:43.027294"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Mitsue Wolf"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mitsue Wolf"], ["name", "Alicia Bauch"], ["address", "Deeann Huel"], ["created_at", "2018-09-05 19:27:43.033870"], ["updated_at", "2018-09-05 19:27:43.033870"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"Leora Kris", "description"=>"Aaron Cartwright", "name"=>"Clare Gleason", "service_delivery_unit_id"=>"39"}, "id"=>"42"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Leora Kris"], ["id", 42], ["LIMIT", 1]] Mks::Rate::ServiceBundle Update (0.9ms) UPDATE "mks_rate_service_bundles" SET "code" = $1, "name" = $2, "description" = $3, "service_delivery_unit_id" = $4, "updated_at" = $5 WHERE "mks_rate_service_bundles"."id" = $6 [["code", "Leora Kris"], ["name", "Clare Gleason"], ["description", "Aaron Cartwright"], ["service_delivery_unit_id", 39], ["updated_at", "2018-09-05 19:27:43.047203"], ["id", 42]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] [active_model_serializers] Rendered Mks::Rate::ServiceBundleSerializer with ActiveModelSerializers::Adapter::Attributes (0.22ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 5.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "morgan@labadie.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Eli McCullough"], ["last_name", "Olen Kuhic"], ["email", "morgan@labadie.ca"], ["password_digest", "$2a$04$pyalqWYEbK.4vbdPO89tQuG13spw5N4zYs7lUYQq89GyKsjf0Wrjy"], ["created_at", "2018-09-05 19:27:43.060075"], ["updated_at", "2018-09-05 19:27:43.060075"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Katerine Connelly"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Katerine Connelly"], ["name", "Tiana Streich"], ["address", "Olevia Christiansen"], ["created_at", "2018-09-05 19:27:43.065063"], ["updated_at", "2018-09-05 19:27:43.065063"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Luana Russel"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Luana Russel"], ["name", "Maribel Stracke"], ["description", "Buck Bechtelar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 40], ["created_at", "2018-09-05 19:27:43.069550"], ["updated_at", "2018-09-05 19:27:43.069550"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vicente Herzog"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vicente Herzog"], ["name", "Carl Orn"], ["address", "Brock Sauer"], ["created_at", "2018-09-05 19:27:43.075727"], ["updated_at", "2018-09-05 19:27:43.075727"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceBundlesController#update as HTML Parameters: {"service_bundle"=>{"code"=>"", "description"=>"Adrien Lang", "name"=>"Maisie Reilly", "service_delivery_unit_id"=>"41"}, "id"=>"43"} Mks::Auth::User Load (1.5ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceBundle Load (1.4ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", ""], ["id", 43], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 13ms (Views: 1.2ms | ActiveRecord: 7.0ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "darnell@thompson.biz"], ["LIMIT", 1]] Mks::Auth::User Create (2.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Dorris Baumbach"], ["last_name", "Natashia Kling"], ["email", "darnell@thompson.biz"], ["password_digest", "$2a$04$o7hZwxn78CcgQ1yWpfE7quR/elQBzrD/btYX5q.MJrQ8aaWQ6M1ne"], ["created_at", "2018-09-05 19:27:43.103347"], ["updated_at", "2018-09-05 19:27:43.103347"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marta Kulas"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marta Kulas"], ["name", "Latisha Dooley"], ["address", "Cory Gleichner"], ["created_at", "2018-09-05 19:27:43.111507"], ["updated_at", "2018-09-05 19:27:43.111507"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Taneka Smitham"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Taneka Smitham"], ["name", "Leona Weissnat"], ["address", "Edwin Farrell"], ["created_at", "2018-09-05 19:27:43.117124"], ["updated_at", "2018-09-05 19:27:43.117124"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ethelene Emard"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Ethelene Emard"], ["name", "Adina Borer"], ["address", "Maryjane Doyle"], ["created_at", "2018-09-05 19:27:43.122843"], ["updated_at", "2018-09-05 19:27:43.122843"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (1.4ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceDeliveryUnit::ActiveRecord_Relation (0.74ms) Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 2.9ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN  (1.5ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "marva.ortiz@aufderhar.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Leonia Davis"], ["last_name", "Charlyn Torphy"], ["email", "marva.ortiz@aufderhar.com"], ["password_digest", "$2a$04$MsYFksBGMe3SDsTGkUzhlu0iY8FgoPToNEu4TnvEEsldruBEmqXgS"], ["created_at", "2018-09-05 19:27:43.149598"], ["updated_at", "2018-09-05 19:27:43.149598"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units" Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Imelda Brekke", "code"=>"Neely Steuber", "name"=>"Tyesha Kohler"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Neely Steuber"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Neely Steuber"], ["name", "Tyesha Kohler"], ["address", "Imelda Brekke"], ["created_at", "2018-09-05 19:27:43.162242"], ["updated_at", "2018-09-05 19:27:43.162242"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.16ms) Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.25ms) Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 5.0ms)  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_delivery_units"  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "patsy@bernhard.info"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Natisha Howe"], ["last_name", "Mohamed Swaniawski"], ["email", "patsy@bernhard.info"], ["password_digest", "$2a$04$sf1.6otY6uL15ZMtx82ZseMpzFC9BxhCyNh314GzC495g.V2YtQju"], ["created_at", "2018-09-05 19:27:43.179513"], ["updated_at", "2018-09-05 19:27:43.179513"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Chana White", "code"=>"Slyvia Kessler", "name"=>"Barton Volkman"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Slyvia Kessler"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Slyvia Kessler"], ["name", "Barton Volkman"], ["address", "Chana White"], ["created_at", "2018-09-05 19:27:43.187473"], ["updated_at", "2018-09-05 19:27:43.187473"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.1ms) Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.28ms) Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 3.8ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.4ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "chanda@barrowshansen.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Florrie Goldner"], ["last_name", "Sean Ziemann"], ["email", "chanda@barrowshansen.ca"], ["password_digest", "$2a$04$nx9fggW8OI.vK8SAWbeoM.BX5EWi0cZqf1dTn8xbZdLG5YT6780BS"], ["created_at", "2018-09-05 19:27:43.202563"], ["updated_at", "2018-09-05 19:27:43.202563"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#create as JSON Parameters: {"service_delivery_unit"=>{"address"=>"Ruthanne Cummerata", "code"=>"", "name"=>"Kanisha Tromp"}} Mks::Auth::User Load (0.6ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]]  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.9ms | ActiveRecord: 4.1ms)  (1.5ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "cliff@jacobswisozk.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (0.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ronald Frami"], ["last_name", "Sixta Schuster"], ["email", "cliff@jacobswisozk.co.uk"], ["password_digest", "$2a$04$i7UOvINOHGuwK7WYN2Iyue.lALSYx5bEJ9eYRLcyfVswzFUJoOTT2"], ["created_at", "2018-09-05 19:27:43.226401"], ["updated_at", "2018-09-05 19:27:43.226401"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Doria Gerlach"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Doria Gerlach"], ["name", "Arlette Dach"], ["address", "Guillermo Swift"], ["created_at", "2018-09-05 19:27:43.231111"], ["updated_at", "2018-09-05 19:27:43.231111"]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>"Service delivery unit 1"}, "id"=>"47"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Doria Gerlach"], ["id", 47], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Update (1.6ms) UPDATE "mks_rate_service_delivery_units" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_delivery_units"."id" = $3 [["name", "Service delivery unit 1"], ["updated_at", "2018-09-05 19:27:43.243144"], ["id", 47]]  (0.8ms) RELEASE SAVEPOINT active_record_1 [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceDeliveryUnit (0.19ms) Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.34ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 7.0ms) Mks::Rate::ServiceDeliveryUnit Load (1.0ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "garnett_labadie@harvey.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Katharine Schneider"], ["last_name", "Allie Medhurst"], ["email", "garnett_labadie@harvey.ca"], ["password_digest", "$2a$04$1emmG/QWOP1CqMLBWK1blu.Pk0X5NG/8Fve7H0ks77XkfqRHUh8z."], ["created_at", "2018-09-05 19:27:43.260566"], ["updated_at", "2018-09-05 19:27:43.260566"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Renda Carter"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Renda Carter"], ["name", "Fredric Williamson"], ["address", "Eddy Simonis"], ["created_at", "2018-09-05 19:27:43.267563"], ["updated_at", "2018-09-05 19:27:43.267563"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceDeliveryUnitsController#update as JSON Parameters: {"service_delivery_unit"=>{"name"=>""}, "id"=>"48"} Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Renda Carter"], ["id", 48], ["LIMIT", 1]]  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms) Completed 422 Unprocessable Entity in 9ms (Views: 1.2ms | ActiveRecord: 4.3ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "rosalie@rosenbaum.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Vivienne Senger"], ["last_name", "Jonathon Mraz"], ["email", "rosalie@rosenbaum.com"], ["password_digest", "$2a$04$DE48N5Poxg4B8wS9D8lm7.JJvBd3zBgRD2DXrGgbS63VF8qJevB.m"], ["created_at", "2018-09-05 19:27:43.290281"], ["updated_at", "2018-09-05 19:27:43.290281"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Marilynn Sauer"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Allena Berge"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marilynn Sauer"], ["name", "Allena Berge"], ["description", "Delectus accusantium explicabo expedita illum. Explicabo impedit voluptatem sed consequatur est odio. Consequatur facilis vero praesentium laboriosam odit."], ["created_at", "2018-09-05 19:27:43.316998"], ["updated_at", "2018-09-05 19:27:43.316998"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Temple Osinski"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Jeremiah Stokes"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Temple Osinski"], ["name", "Jeremiah Stokes"], ["description", "Ut beatae eos ipsum sit est aut et sit. Sequi deleniti odit dignissimos aut delectus natus. Labore quia recusandae sed ut sequi. Aliquid illo quia qui minus omnis."], ["equipment_type_id", 11], ["created_at", "2018-09-05 19:27:43.322422"], ["updated_at", "2018-09-05 19:27:43.322422"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Sanjuanita Boyle"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Sanjuanita Boyle"], ["name", "Trinidad Volkman"], ["description", "Sheilah Gottlieb"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 11], ["created_at", "2018-09-05 19:27:43.326905"], ["updated_at", "2018-09-05 19:27:43.326905"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "An Powlowski"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Cassandra Johnston"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "An Powlowski"], ["name", "Cassandra Johnston"], ["description", "Nicolle Glover"], ["created_at", "2018-09-05 19:27:43.333517"], ["updated_at", "2018-09-05 19:27:43.333517"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Tom Gerhold"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.3ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tom Gerhold"], ["name", "Phillip Satterfield"], ["location_type_id", 11], ["description", "Vikki Rutherford"], ["address", "Noelle Gerhold"], ["created_at", "2018-09-05 19:27:43.338338"], ["updated_at", "2018-09-05 19:27:43.338338"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Shirley Zieme"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Lesa Hilpert"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Shirley Zieme"], ["name", "Leslee Harvey"], ["description", "Jasper Hansen"], ["serial_number", "Lesa Hilpert"], ["brand", "Ora Streich"], ["item_model", "Hanh Padberg"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 11], ["current_location_id", 11], ["created_at", "2018-09-05 19:27:43.345148"], ["updated_at", "2018-09-05 19:27:43.345148"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Delana O'Kon"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Demarcus Spinka"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Delana O'Kon"], ["name", "Demarcus Spinka"], ["created_at", "2018-09-05 19:27:43.353743"], ["updated_at", "2018-09-05 19:27:43.353743"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Blanche Miller"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Blanche Miller"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.358310"], ["updated_at", "2018-09-05 19:27:43.358310"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Lucia Lakin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Lucia Lakin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.362888"], ["updated_at", "2018-09-05 19:27:43.362888"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Debby Macejkovic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Debby Macejkovic"], ["name", "Brianne Veum"], ["address", "Birdie Johns"], ["created_at", "2018-09-05 19:27:43.367426"], ["updated_at", "2018-09-05 19:27:43.367426"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lynne Hoeger"], ["service_delivery_unit_id", 49], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lynne Hoeger"], ["name", "Stephanie Watsica"], ["service_type_id", 24], ["base_unit_id", 47], ["utilization_unit_id", 48], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 19:27:43.372090"], ["updated_at", "2018-09-05 19:27:43.372090"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lynne Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lynne Hoeger"], ["name", "Stephanie Watsica"], ["description", "Default bundle for service 'Stephanie Watsica'"], ["service_delivery_unit_id", 49], ["created_at", "2018-09-05 19:27:43.377290"], ["updated_at", "2018-09-05 19:27:43.377290"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 44], ["chargeable_service_id", 23]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.7ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 23], ["equipment_item_id", 11], ["created_at", "2018-09-05 19:27:43.384447"], ["updated_at", "2018-09-05 19:27:43.384447"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Janita Hane"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Joel Carroll"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Janita Hane"], ["name", "Joel Carroll"], ["description", "Reiciendis ut debitis eligendi facere qui nihil a quia. Aut et repudiandae quae nulla libero magni ut. Iste libero assumenda saepe architecto dolor eos dignissimos explicabo."], ["created_at", "2018-09-05 19:27:43.392506"], ["updated_at", "2018-09-05 19:27:43.392506"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Georgette Kozey"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Ilona Borer"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Georgette Kozey"], ["name", "Ilona Borer"], ["description", "Inventore culpa quam minima assumenda dolore sit. Quo est et repellat quibusdam quia. Doloremque et earum velit esse nihil. Blanditiis nostrum iusto incidunt beatae."], ["equipment_type_id", 12], ["created_at", "2018-09-05 19:27:43.397755"], ["updated_at", "2018-09-05 19:27:43.397755"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Burl Bahringer"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.7ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Burl Bahringer"], ["name", "Enriqueta Medhurst"], ["description", "Lorri Kub"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 12], ["created_at", "2018-09-05 19:27:43.402402"], ["updated_at", "2018-09-05 19:27:43.402402"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Chassidy Luettgen"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Pia Koepp"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Chassidy Luettgen"], ["name", "Pia Koepp"], ["description", "Giovanna Tillman"], ["created_at", "2018-09-05 19:27:43.413031"], ["updated_at", "2018-09-05 19:27:43.413031"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Rhea Heaney"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Rhea Heaney"], ["name", "Soraya Altenwerth"], ["location_type_id", 12], ["description", "Sari Cole"], ["address", "Laree Cassin"], ["created_at", "2018-09-05 19:27:43.418703"], ["updated_at", "2018-09-05 19:27:43.418703"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Alexandria Aufderhar"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Buck Bartell"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.9ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Alexandria Aufderhar"], ["name", "Ashli Conn"], ["description", "Bernie Lowe"], ["serial_number", "Buck Bartell"], ["brand", "Filiberto Rohan"], ["item_model", "Horacio Effertz"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 12], ["current_location_id", 12], ["created_at", "2018-09-05 19:27:43.424563"], ["updated_at", "2018-09-05 19:27:43.424563"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Cleora Simonis"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Ellis Runolfsdottir"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cleora Simonis"], ["name", "Ellis Runolfsdottir"], ["created_at", "2018-09-05 19:27:43.431404"], ["updated_at", "2018-09-05 19:27:43.431404"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hyacinth Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hyacinth Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.436076"], ["updated_at", "2018-09-05 19:27:43.436076"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Blossom Cartwright"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Blossom Cartwright"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.440528"], ["updated_at", "2018-09-05 19:27:43.440528"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Hien Stiedemann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Hien Stiedemann"], ["name", "Migdalia Wilkinson"], ["address", "Jaqueline Gusikowski"], ["created_at", "2018-09-05 19:27:43.446623"], ["updated_at", "2018-09-05 19:27:43.446623"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Loren Gislason"], ["service_delivery_unit_id", 50], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Loren Gislason"], ["name", "Maegan Lubowitz"], ["service_type_id", 25], ["base_unit_id", 49], ["utilization_unit_id", 50], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 19:27:43.451683"], ["updated_at", "2018-09-05 19:27:43.451683"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Loren Gislason"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Loren Gislason"], ["name", "Maegan Lubowitz"], ["description", "Default bundle for service 'Maegan Lubowitz'"], ["service_delivery_unit_id", 50], ["created_at", "2018-09-05 19:27:43.456712"], ["updated_at", "2018-09-05 19:27:43.456712"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 45], ["chargeable_service_id", 24]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 24], ["equipment_item_id", 12], ["created_at", "2018-09-05 19:27:43.462457"], ["updated_at", "2018-09-05 19:27:43.462457"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Yolonda Waelchi"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Coretta Bartell"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.8ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yolonda Waelchi"], ["name", "Coretta Bartell"], ["description", "Voluptate illo excepturi quasi et ipsa et rerum consectetur. Tenetur nisi incidunt voluptas voluptatem. Ut vel enim reiciendis magnam labore rerum."], ["created_at", "2018-09-05 19:27:43.469581"], ["updated_at", "2018-09-05 19:27:43.469581"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Samantha Abernathy"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Hollie Hackett"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.7ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Samantha Abernathy"], ["name", "Hollie Hackett"], ["description", "Facilis reiciendis ipsam odit perspiciatis dolores quia. Qui tempore perferendis consequatur voluptas quidem libero magni sapiente. Distinctio optio maiores doloribus velit consequatur."], ["equipment_type_id", 13], ["created_at", "2018-09-05 19:27:43.475170"], ["updated_at", "2018-09-05 19:27:43.475170"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Narcisa Mitchell"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.0ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Narcisa Mitchell"], ["name", "Rhett Parker"], ["description", "Irvin Sauer"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 13], ["created_at", "2018-09-05 19:27:43.479474"], ["updated_at", "2018-09-05 19:27:43.479474"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Herlinda Grant"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Aide Macejkovic"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Herlinda Grant"], ["name", "Aide Macejkovic"], ["description", "Larhonda Braun"], ["created_at", "2018-09-05 19:27:43.485508"], ["updated_at", "2018-09-05 19:27:43.485508"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Ellis Schumm"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Ellis Schumm"], ["name", "Serena Nikolaus"], ["location_type_id", 13], ["description", "Josephine Lueilwitz"], ["address", "Ellamae Lowe"], ["created_at", "2018-09-05 19:27:43.489591"], ["updated_at", "2018-09-05 19:27:43.489591"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Valeria Simonis"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Jeramy Hettinger"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (0.8ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Valeria Simonis"], ["name", "Hildred Fay"], ["description", "Despina Moore"], ["serial_number", "Jeramy Hettinger"], ["brand", "Branden Hagenes"], ["item_model", "Ozell Klein"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 13], ["current_location_id", 13], ["created_at", "2018-09-05 19:27:43.495112"], ["updated_at", "2018-09-05 19:27:43.495112"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Inocencia Doyle"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Zetta Monahan"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Inocencia Doyle"], ["name", "Zetta Monahan"], ["created_at", "2018-09-05 19:27:43.501392"], ["updated_at", "2018-09-05 19:27:43.501392"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cherelle Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cherelle Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.506110"], ["updated_at", "2018-09-05 19:27:43.506110"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Nikia Langworth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Nikia Langworth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.510568"], ["updated_at", "2018-09-05 19:27:43.510568"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dominica Beier"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dominica Beier"], ["name", "Cherrie Lowe"], ["address", "Audry Kohler"], ["created_at", "2018-09-05 19:27:43.516142"], ["updated_at", "2018-09-05 19:27:43.516142"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Manuel Hauck"], ["service_delivery_unit_id", 51], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Manuel Hauck"], ["name", "Deidre Labadie"], ["service_type_id", 26], ["base_unit_id", 51], ["utilization_unit_id", 52], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 19:27:43.520790"], ["updated_at", "2018-09-05 19:27:43.520790"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Manuel Hauck"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Manuel Hauck"], ["name", "Deidre Labadie"], ["description", "Default bundle for service 'Deidre Labadie'"], ["service_delivery_unit_id", 51], ["created_at", "2018-09-05 19:27:43.525691"], ["updated_at", "2018-09-05 19:27:43.525691"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 46], ["chargeable_service_id", 25]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 25], ["equipment_item_id", 13], ["created_at", "2018-09-05 19:27:43.531556"], ["updated_at", "2018-09-05 19:27:43.531556"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (1.3ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.8ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.8ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (11.94ms)  (1.3ms) SELECT COUNT(*) FROM "mks_rate_service_rates" Mks::Auth::User Load (1.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.7ms) Completed 200 OK in 33ms (Views: 2.3ms | ActiveRecord: 10.2ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "irving.pollich@rau.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Porfirio Kuhn"], ["last_name", "Minta Steuber"], ["email", "irving.pollich@rau.com"], ["password_digest", "$2a$04$i711a7jcgGWKigIsjVtHGeIHFKp43d.IArDAqQsPlFojLclkHQFP2"], ["created_at", "2018-09-05 19:27:43.576456"], ["updated_at", "2018-09-05 19:27:43.576456"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Donnie Hintz"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Rebecka Kreiger"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Donnie Hintz"], ["name", "Rebecka Kreiger"], ["description", "Animi reprehenderit tempore temporibus vitae eos porro in. Quasi qui omnis fuga quibusdam. Quasi id et molestiae dolorem. Voluptas at maxime quos animi harum alias."], ["created_at", "2018-09-05 19:27:43.583658"], ["updated_at", "2018-09-05 19:27:43.583658"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Mao Heathcote"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Mirella Bashirian"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.5ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Mao Heathcote"], ["name", "Mirella Bashirian"], ["description", "Vitae eos numquam doloribus officiis. Distinctio excepturi omnis facere voluptatum temporibus. Autem voluptatum doloribus assumenda et deleniti fugit eveniet expedita. Aliquam corrupti mollitia maiores natus."], ["equipment_type_id", 14], ["created_at", "2018-09-05 19:27:43.591135"], ["updated_at", "2018-09-05 19:27:43.591135"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Tarsha Parker"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Tarsha Parker"], ["name", "Echo Ward"], ["description", "Nova Ortiz"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 14], ["created_at", "2018-09-05 19:27:43.597744"], ["updated_at", "2018-09-05 19:27:43.597744"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Kai Barrows"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Tianna King"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kai Barrows"], ["name", "Tianna King"], ["description", "Alica Kautzer"], ["created_at", "2018-09-05 19:27:43.605177"], ["updated_at", "2018-09-05 19:27:43.605177"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Duane Windler"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.3ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Duane Windler"], ["name", "Akilah Abernathy"], ["location_type_id", 14], ["description", "Mickie Shanahan"], ["address", "Casimira Sauer"], ["created_at", "2018-09-05 19:27:43.610183"], ["updated_at", "2018-09-05 19:27:43.610183"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Chasidy Schimmel"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Aleshia Bernier"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.5ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Chasidy Schimmel"], ["name", "Maris Johnson"], ["description", "Maia Kautzer"], ["serial_number", "Aleshia Bernier"], ["brand", "Ilse Hammes"], ["item_model", "Theda Yundt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 14], ["current_location_id", 14], ["created_at", "2018-09-05 19:27:43.618429"], ["updated_at", "2018-09-05 19:27:43.618429"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Sumiko Harvey"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Chong Hilpert"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.2ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Sumiko Harvey"], ["name", "Chong Hilpert"], ["created_at", "2018-09-05 19:27:43.628736"], ["updated_at", "2018-09-05 19:27:43.628736"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oren Koepp"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oren Koepp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.635208"], ["updated_at", "2018-09-05 19:27:43.635208"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Alfredia Haag"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alfredia Haag"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.641332"], ["updated_at", "2018-09-05 19:27:43.641332"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tien Bailey"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tien Bailey"], ["name", "Reena Kozey"], ["address", "Theodore Effertz"], ["created_at", "2018-09-05 19:27:43.646637"], ["updated_at", "2018-09-05 19:27:43.646637"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Corinne Abbott"], ["service_delivery_unit_id", 52], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.4ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Corinne Abbott"], ["name", "Dania Wolf"], ["service_type_id", 27], ["base_unit_id", 53], ["utilization_unit_id", 54], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 19:27:43.653201"], ["updated_at", "2018-09-05 19:27:43.653201"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Corinne Abbott"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Corinne Abbott"], ["name", "Dania Wolf"], ["description", "Default bundle for service 'Dania Wolf'"], ["service_delivery_unit_id", 52], ["created_at", "2018-09-05 19:27:43.659307"], ["updated_at", "2018-09-05 19:27:43.659307"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.1ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 47], ["chargeable_service_id", 26]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 26], ["equipment_item_id", 14], ["created_at", "2018-09-05 19:27:43.666079"], ["updated_at", "2018-09-05 19:27:43.666079"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Candida Leannon"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Alpha Romaguera"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.9ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Candida Leannon"], ["name", "Alpha Romaguera"], ["description", "Sit qui dolorum ipsam ipsum blanditiis nulla non maiores. Deserunt recusandae soluta facere molestiae quia. Et non consequuntur esse nam voluptatibus. Rerum accusantium sint numquam dicta quae amet."], ["created_at", "2018-09-05 19:27:43.673899"], ["updated_at", "2018-09-05 19:27:43.673899"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Harriette Romaguera"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Darron Feil"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.8ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Harriette Romaguera"], ["name", "Darron Feil"], ["description", "Modi debitis molestias explicabo aut et. A nam aliquid quia ut eum. Quaerat ut nulla aliquam impedit. Sequi quis voluptatem eos rerum omnis."], ["equipment_type_id", 15], ["created_at", "2018-09-05 19:27:43.680404"], ["updated_at", "2018-09-05 19:27:43.680404"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Penelope Gusikowski"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.1ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Penelope Gusikowski"], ["name", "Margarett Johnson"], ["description", "Kent Nolan"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 15], ["created_at", "2018-09-05 19:27:43.685639"], ["updated_at", "2018-09-05 19:27:43.685639"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Mollie Ebert"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Xenia Aufderhar"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.0ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Mollie Ebert"], ["name", "Xenia Aufderhar"], ["description", "Fabian Schamberger"], ["created_at", "2018-09-05 19:27:43.693451"], ["updated_at", "2018-09-05 19:27:43.693451"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.3ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Rosie Christiansen"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.5ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Rosie Christiansen"], ["name", "Eulah Thompson"], ["location_type_id", 15], ["description", "Jerome Gerlach"], ["address", "Debi Gerlach"], ["created_at", "2018-09-05 19:27:43.700833"], ["updated_at", "2018-09-05 19:27:43.700833"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.2ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Ami Bechtelar"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Trent Ankunding"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Ami Bechtelar"], ["name", "Evonne Hauck"], ["description", "Taina Gottlieb"], ["serial_number", "Trent Ankunding"], ["brand", "Adrianne Sawayn"], ["item_model", "Adolph Dicki"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 15], ["current_location_id", 15], ["created_at", "2018-09-05 19:27:43.709939"], ["updated_at", "2018-09-05 19:27:43.709939"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Annetta Douglas"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Machelle Schamberger"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Annetta Douglas"], ["name", "Machelle Schamberger"], ["created_at", "2018-09-05 19:27:43.716842"], ["updated_at", "2018-09-05 19:27:43.716842"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Stephaine Lubowitz"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stephaine Lubowitz"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.721424"], ["updated_at", "2018-09-05 19:27:43.721424"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ted Kovacek"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ted Kovacek"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.725977"], ["updated_at", "2018-09-05 19:27:43.725977"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Devona Nienow"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Devona Nienow"], ["name", "Lore Bechtelar"], ["address", "Gretta Doyle"], ["created_at", "2018-09-05 19:27:43.730502"], ["updated_at", "2018-09-05 19:27:43.730502"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Cathie Parisian"], ["service_delivery_unit_id", 53], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Cathie Parisian"], ["name", "Sean Murray"], ["service_type_id", 28], ["base_unit_id", 55], ["utilization_unit_id", 56], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 19:27:43.734956"], ["updated_at", "2018-09-05 19:27:43.734956"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cathie Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Cathie Parisian"], ["name", "Sean Murray"], ["description", "Default bundle for service 'Sean Murray'"], ["service_delivery_unit_id", 53], ["created_at", "2018-09-05 19:27:43.739701"], ["updated_at", "2018-09-05 19:27:43.739701"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 48], ["chargeable_service_id", 27]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 27], ["equipment_item_id", 15], ["created_at", "2018-09-05 19:27:43.747121"], ["updated_at", "2018-09-05 19:27:43.747121"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Dagny Klein"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Andre Kerluke"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.0ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dagny Klein"], ["name", "Andre Kerluke"], ["description", "Molestias praesentium dolor et vel modi quis dignissimos. Ut quidem distinctio adipisci sed consectetur magnam sit. Voluptatem dolorum maxime voluptas qui possimus sed facere temporibus. Qui velit voluptatum et labore. Et ut quis consequatur nihil sint possimus incidunt sunt."], ["created_at", "2018-09-05 19:27:43.754500"], ["updated_at", "2018-09-05 19:27:43.754500"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Essie Wuckert"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Lavon Legros"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Essie Wuckert"], ["name", "Lavon Legros"], ["description", "Hic modi reiciendis aut consequatur nemo exercitationem minima quis. Dolor reiciendis nisi hic quaerat enim. Perferendis atque voluptatibus quis rem voluptatem."], ["equipment_type_id", 16], ["created_at", "2018-09-05 19:27:43.761676"], ["updated_at", "2018-09-05 19:27:43.761676"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Jasmine Sauer"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.2ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Jasmine Sauer"], ["name", "Lyman Gibson"], ["description", "Estefana Torphy"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 16], ["created_at", "2018-09-05 19:27:43.766279"], ["updated_at", "2018-09-05 19:27:43.766279"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Franklin Parisian"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Savanna Bosco"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Franklin Parisian"], ["name", "Savanna Bosco"], ["description", "Ceola Marquardt"], ["created_at", "2018-09-05 19:27:43.773733"], ["updated_at", "2018-09-05 19:27:43.773733"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Leah Schamberger"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Leah Schamberger"], ["name", "Eduardo Larkin"], ["location_type_id", 16], ["description", "Dolores Simonis"], ["address", "Alida Towne"], ["created_at", "2018-09-05 19:27:43.778187"], ["updated_at", "2018-09-05 19:27:43.778187"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Loria Rippin"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Tammi Schroeder"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.3ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Loria Rippin"], ["name", "Carter Macejkovic"], ["description", "Jamison Baumbach"], ["serial_number", "Tammi Schroeder"], ["brand", "Joette Oberbrunner"], ["item_model", "Henry Johnson"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 16], ["current_location_id", 16], ["created_at", "2018-09-05 19:27:43.786919"], ["updated_at", "2018-09-05 19:27:43.786919"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Argelia Spencer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Felix Kilback"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Argelia Spencer"], ["name", "Felix Kilback"], ["created_at", "2018-09-05 19:27:43.799124"], ["updated_at", "2018-09-05 19:27:43.799124"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ghislaine Barton"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ghislaine Barton"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.805108"], ["updated_at", "2018-09-05 19:27:43.805108"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Homer Barrows"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Homer Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:43.810417"], ["updated_at", "2018-09-05 19:27:43.810417"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Gil Kunde"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Gil Kunde"], ["name", "Rema Gutkowski"], ["address", "Karin Kautzer"], ["created_at", "2018-09-05 19:27:43.818792"], ["updated_at", "2018-09-05 19:27:43.818792"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jo McKenzie"], ["service_delivery_unit_id", 54], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jo McKenzie"], ["name", "Fern Quitzon"], ["service_type_id", 29], ["base_unit_id", 57], ["utilization_unit_id", 58], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 19:27:43.823927"], ["updated_at", "2018-09-05 19:27:43.823927"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jo McKenzie"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jo McKenzie"], ["name", "Fern Quitzon"], ["description", "Default bundle for service 'Fern Quitzon'"], ["service_delivery_unit_id", 54], ["created_at", "2018-09-05 19:27:43.828923"], ["updated_at", "2018-09-05 19:27:43.828923"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 49], ["chargeable_service_id", 28]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 28], ["equipment_item_id", 16], ["created_at", "2018-09-05 19:27:43.834856"], ["updated_at", "2018-09-05 19:27:43.834856"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceRatesController#working_rates as HTML Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" [active_model_serializers] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.8ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] [active_model_serializers] Mks::Edm::EquipmentItem Load (0.7ms) SELECT "mks_edm_equipment_items".* FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] [active_model_serializers] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (12.74ms) Completed 200 OK in 19ms (Views: 8.1ms | ActiveRecord: 8.5ms)  (0.9ms) ROLLBACK  (0.7ms) BEGIN  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lyn@skiles.ca"], ["LIMIT", 1]] Mks::Auth::User Create (2.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Kerry Hermiston"], ["last_name", "Cory Prosacco"], ["email", "lyn@skiles.ca"], ["password_digest", "$2a$04$Grzcjk3xmuXumdfyhTsEd.U4CoqGmaxUcF7J4BDLs3rDGbGCEspkq"], ["created_at", "2018-09-05 19:27:43.868616"], ["updated_at", "2018-09-05 19:27:43.868616"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kristyn Nader"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Xiomara Murray"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kristyn Nader"], ["name", "Xiomara Murray"], ["created_at", "2018-09-05 19:27:43.877245"], ["updated_at", "2018-09-05 19:27:43.877245"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#index as HTML Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" No serializer found for resource: # [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::ServiceType::ActiveRecord_Relation (0.26ms) Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 2.8ms)  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "reva_medhurst@hegmann.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Alysa Hudson"], ["last_name", "Tari Lindgren"], ["email", "reva_medhurst@hegmann.ca"], ["password_digest", "$2a$04$SY09ZSGvydylLIDgEkBnDuYNdRWJbQjTUDPuGqOalHZ38a9gD1une"], ["created_at", "2018-09-05 19:27:43.900182"], ["updated_at", "2018-09-05 19:27:43.900182"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Oliva Rolfson"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gaylord Wehner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Oliva Rolfson"], ["name", "Gaylord Wehner"], ["created_at", "2018-09-05 19:27:43.906134"], ["updated_at", "2018-09-05 19:27:43.906134"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#show as HTML Parameters: {"id"=>"31"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] Mks::Rate::ServiceType Load (1.2ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Mks::Auth::User Load (1.3ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.33ms) Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 3.6ms)  (1.4ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "lashawnda.doyle@konopelski.us"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bonnie Tromp"], ["last_name", "Raul Grimes"], ["email", "lashawnda.doyle@konopelski.us"], ["password_digest", "$2a$04$hk6pS7FgFKsdslpr2NiWAepq7iohdYD4awsQ31y2/ww299WDEjiUy"], ["created_at", "2018-09-05 19:27:43.925816"], ["updated_at", "2018-09-05 19:27:43.925816"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "mks_rate_service_types" Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Velia Kris", "name"=>"Katia Dickinson"}} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Velia Kris"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Katia Dickinson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Velia Kris"], ["name", "Katia Dickinson"], ["created_at", "2018-09-05 19:27:43.937345"], ["updated_at", "2018-09-05 19:27:43.937345"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 201 Created in 14ms (Views: 2.1ms | ActiveRecord: 7.4ms)  (1.1ms) SELECT COUNT(*) FROM "mks_rate_service_types"  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jeniffer_carter@hyatt.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.2ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Dean Witting"], ["last_name", "Porfirio Fritsch"], ["email", "jeniffer_carter@hyatt.name"], ["password_digest", "$2a$04$au/uP.ZNX7A2YAct5k.3jeDD6I6wZcz8brPMEGPVBMxAvv.gXmizq"], ["created_at", "2018-09-05 19:27:43.956447"], ["updated_at", "2018-09-05 19:27:43.956447"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"Delisa Davis", "name"=>"Gabriella Torp"}} Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]]  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Delisa Davis"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gabriella Torp"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Delisa Davis"], ["name", "Gabriella Torp"], ["created_at", "2018-09-05 19:27:43.969454"], ["updated_at", "2018-09-05 19:27:43.969454"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.25ms) Completed 201 Created in 13ms (Views: 1.5ms | ActiveRecord: 6.7ms) Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" ORDER BY "mks_rate_service_types"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "troy@gutmannwatsica.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Angila Upton"], ["last_name", "Marinda Will"], ["email", "troy@gutmannwatsica.name"], ["password_digest", "$2a$04$S78b3ONdF4DI3dFFV4YCoebYty0fJpvBKWcWu4GTkAp/FNKuZ.H1K"], ["created_at", "2018-09-05 19:27:43.985702"], ["updated_at", "2018-09-05 19:27:43.985702"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#create as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Lilia Mayert"}} Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", ""], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lilia Mayert"], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 8ms (Views: 1.1ms | ActiveRecord: 3.8ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dorinda@lueilwitz.info"], ["LIMIT", 1]] Mks::Auth::User Create (2.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Conception Lesch"], ["last_name", "Shella Marquardt"], ["email", "dorinda@lueilwitz.info"], ["password_digest", "$2a$04$D/AhiJhHCurp97fWh1TO0.zbRipYFjBwjU3xYmYdMfFCA4NCE1qBK"], ["created_at", "2018-09-05 19:27:44.008770"], ["updated_at", "2018-09-05 19:27:44.008770"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Valeria Kutch"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Crissy Hettinger"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Valeria Kutch"], ["name", "Crissy Hettinger"], ["created_at", "2018-09-05 19:27:44.018355"], ["updated_at", "2018-09-05 19:27:44.018355"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"name"=>"Merissa Davis"}, "id"=>"34"} Mks::Auth::User Load (1.1ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.8ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Valeria Kutch"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Merissa Davis"], ["id", 34], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.1ms) UPDATE "mks_rate_service_types" SET "name" = $1, "updated_at" = $2 WHERE "mks_rate_service_types"."id" = $3 [["name", "Merissa Davis"], ["updated_at", "2018-09-05 19:27:44.029788"], ["id", 34]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (1.2ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 8.1ms) Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "tanna@manncasper.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Bret Raynor"], ["last_name", "Issac Abshire"], ["email", "tanna@manncasper.com"], ["password_digest", "$2a$04$OxfZ4WEKwS7Z6tyKfWfK9O9VIBdtaj8oiqnqQK9c.aQBnzJIPeDoS"], ["created_at", "2018-09-05 19:27:44.045633"], ["updated_at", "2018-09-05 19:27:44.045633"]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Zachery Swaniawski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Anglea Rosenbaum"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Zachery Swaniawski"], ["name", "Anglea Rosenbaum"], ["created_at", "2018-09-05 19:27:44.056838"], ["updated_at", "2018-09-05 19:27:44.056838"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"Angeline Gleason", "name"=>"Elida Braun"}, "id"=>"35"} Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.9ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Angeline Gleason"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Elida Braun"], ["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceType Update (1.4ms) UPDATE "mks_rate_service_types" SET "code" = $1, "name" = $2, "updated_at" = $3 WHERE "mks_rate_service_types"."id" = $4 [["code", "Angeline Gleason"], ["name", "Elida Braun"], ["updated_at", "2018-09-05 19:27:44.068931"], ["id", 35]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Mks::Auth::User Load (0.7ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Rate::ServiceType (0.29ms) Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 8.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "alla@botsfordbins.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Andre Barrows"], ["last_name", "Julie Herman"], ["email", "alla@botsfordbins.biz"], ["password_digest", "$2a$04$TEuKFBAsiFvfKDVqF/MdQeqyKiQFoLFV6EjoQ1DSSfDBvd3Z8PiUi"], ["created_at", "2018-09-05 19:27:44.083113"], ["updated_at", "2018-09-05 19:27:44.083113"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (17.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Demetrius Ebert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Virgen Stracke"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Demetrius Ebert"], ["name", "Virgen Stracke"], ["created_at", "2018-09-05 19:27:44.109922"], ["updated_at", "2018-09-05 19:27:44.109922"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::ServiceTypesController#update as HTML Parameters: {"service_type"=>{"code"=>"", "name"=>"Twana Reilly"}, "id"=>"36"} Mks::Auth::User Load (1.4ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] Mks::Rate::ServiceType Load (0.7ms) SELECT "mks_rate_service_types".* FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", ""], ["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Twana Reilly"], ["id", 36], ["LIMIT", 1]]  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActiveModel::Errors (0.07ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.1ms | ActiveRecord: 5.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "manual_mcdermott@ritchie.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Tessie Runolfsson"], ["last_name", "Mardell Leannon"], ["email", "manual_mcdermott@ritchie.biz"], ["password_digest", "$2a$04$psa5Cqim0c0T0UwoSvlqIOHnNQVOZWoaLxwUTIK5.ZuVPPRU1.iyS"], ["created_at", "2018-09-05 19:27:44.132711"], ["updated_at", "2018-09-05 19:27:44.132711"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Sierra Medhurst"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Sierra Medhurst"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.137811"], ["updated_at", "2018-09-05 19:27:44.137811"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Linnie Cassin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Linnie Cassin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.142539"], ["updated_at", "2018-09-05 19:27:44.142539"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gwendolyn White"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gwendolyn White"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.150963"], ["updated_at", "2018-09-05 19:27:44.150963"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Processing by Mks::Rate::UnitOfChargesController#index as HTML Mks::Auth::User Load (0.8ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Rate::UnitOfCharge Load (0.8ms) SELECT "mks_rate_unit_of_charges".* FROM "mks_rate_unit_of_charges" [active_model_serializers] No serializer found for resource: #"float", "day"=>"float"}, created_at: "2018-09-05 19:27:44", updated_at: "2018-09-05 19:27:44"> [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with Mks::Rate::UnitOfCharge::ActiveRecord_Relation (0.48ms)  (1.4ms) SELECT COUNT(*) FROM "mks_rate_unit_of_charges" Mks::Auth::User Load (1.0ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 65], ["LIMIT", 1]] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Mks::Common::MethodResponse (0.53ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 5.0ms)  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Shay Collier"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Brain Crona"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Shay Collier"], ["name", "Brain Crona"], ["created_at", "2018-09-05 19:27:44.180132"], ["updated_at", "2018-09-05 19:27:44.180132"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ailene Bergnaum"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ailene Bergnaum"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.185898"], ["updated_at", "2018-09-05 19:27:44.185898"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jared Parisian"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jared Parisian"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.191010"], ["updated_at", "2018-09-05 19:27:44.191010"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Glynda Collins"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Glynda Collins"], ["name", "Rafael Herman"], ["address", "Francesca Braun"], ["created_at", "2018-09-05 19:27:44.197268"], ["updated_at", "2018-09-05 19:27:44.197268"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Desiree Bayer"], ["service_delivery_unit_id", 55], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Desiree Bayer"], ["name", "Kellee Kling"], ["service_type_id", 37], ["base_unit_id", 62], ["utilization_unit_id", 63], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 19:27:44.207720"], ["updated_at", "2018-09-05 19:27:44.207720"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Desiree Bayer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.6ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Desiree Bayer"], ["name", "Kellee Kling"], ["description", "Default bundle for service 'Kellee Kling'"], ["service_delivery_unit_id", 55], ["created_at", "2018-09-05 19:27:44.213358"], ["updated_at", "2018-09-05 19:27:44.213358"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 50], ["chargeable_service_id", 29]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."id" != $2 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $3 LIMIT $4 [["code", "Desiree Bayer"], ["id", 29], ["service_delivery_unit_id", 55], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Mari Littel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Karri Hyatt"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Mari Littel"], ["name", "Karri Hyatt"], ["created_at", "2018-09-05 19:27:44.230860"], ["updated_at", "2018-09-05 19:27:44.230860"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Gabriela Bode"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Gabriela Bode"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.237554"], ["updated_at", "2018-09-05 19:27:44.237554"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maud Runolfsson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.6ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maud Runolfsson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.244305"], ["updated_at", "2018-09-05 19:27:44.244305"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Delora Mills"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Delora Mills"], ["name", "Cassy Lueilwitz"], ["address", "Joaquin Becker"], ["created_at", "2018-09-05 19:27:44.252046"], ["updated_at", "2018-09-05 19:27:44.252046"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" IS NULL AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $1 LIMIT $2 [["service_delivery_unit_id", 56], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Damion Jakubowski"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Keith Botsford"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Damion Jakubowski"], ["name", "Keith Botsford"], ["created_at", "2018-09-05 19:27:44.263023"], ["updated_at", "2018-09-05 19:27:44.263023"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Patrick Bernhard"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Patrick Bernhard"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.268477"], ["updated_at", "2018-09-05 19:27:44.268477"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Allen Conn"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Allen Conn"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.273117"], ["updated_at", "2018-09-05 19:27:44.273117"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Karri Jewess"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Karri Jewess"], ["name", "Penni Crona"], ["address", "Tora Huel"], ["created_at", "2018-09-05 19:27:44.277715"], ["updated_at", "2018-09-05 19:27:44.277715"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Naomi Lowe"], ["service_delivery_unit_id", 57], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Cherrie Hackett"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gena Collier"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Cherrie Hackett"], ["name", "Gena Collier"], ["created_at", "2018-09-05 19:27:44.291670"], ["updated_at", "2018-09-05 19:27:44.291670"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maxie Adams"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maxie Adams"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.296694"], ["updated_at", "2018-09-05 19:27:44.296694"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Jessie Hauck"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Jessie Hauck"], ["name", "Krysten Mosciski"], ["address", "Mina Bins"], ["created_at", "2018-09-05 19:27:44.302336"], ["updated_at", "2018-09-05 19:27:44.302336"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sherril Windler"], ["service_delivery_unit_id", 58], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Jarrod Littel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Eilene Mills"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Jarrod Littel"], ["name", "Eilene Mills"], ["created_at", "2018-09-05 19:27:44.318579"], ["updated_at", "2018-09-05 19:27:44.318579"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rachael Larson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rachael Larson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.323012"], ["updated_at", "2018-09-05 19:27:44.323012"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Alda Trantow"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Alda Trantow"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.330386"], ["updated_at", "2018-09-05 19:27:44.330386"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" IS NULL LIMIT $2 [["code", "Lucinda Walsh"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Val Bergnaum"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rachal Swift"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Val Bergnaum"], ["name", "Rachal Swift"], ["created_at", "2018-09-05 19:27:44.344150"], ["updated_at", "2018-09-05 19:27:44.344150"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Romana Altenwerth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Romana Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.351339"], ["updated_at", "2018-09-05 19:27:44.351339"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Toshiko Hudson"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Toshiko Hudson"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.356805"], ["updated_at", "2018-09-05 19:27:44.356805"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tisa Stracke"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.6ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tisa Stracke"], ["name", "Demarcus Stark"], ["address", "Farrah Wyman"], ["created_at", "2018-09-05 19:27:44.362480"], ["updated_at", "2018-09-05 19:27:44.362480"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Roger Christiansen"], ["name", "Eric Lakin"], ["service_type_id", 42], ["base_unit_id", 71], ["utilization_unit_id", 72], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 19:27:44.368688"], ["updated_at", "2018-09-05 19:27:44.368688"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Roger Christiansen"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Roger Christiansen"], ["name", "Eric Lakin"], ["description", "Default bundle for service 'Eric Lakin'"], ["service_delivery_unit_id", 59], ["created_at", "2018-09-05 19:27:44.373664"], ["updated_at", "2018-09-05 19:27:44.373664"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 51], ["chargeable_service_id", 30]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Salvador Buckridge"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lori Gorczany"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Salvador Buckridge"], ["name", "Lori Gorczany"], ["created_at", "2018-09-05 19:27:44.382368"], ["updated_at", "2018-09-05 19:27:44.382368"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Olivia Welch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Olivia Welch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.387887"], ["updated_at", "2018-09-05 19:27:44.387887"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tommye Wilderman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tommye Wilderman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.392289"], ["updated_at", "2018-09-05 19:27:44.392289"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Roger Christiansen"], ["service_delivery_unit_id", 59], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Alfredo Reichert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Gema Rath"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Alfredo Reichert"], ["name", "Gema Rath"], ["created_at", "2018-09-05 19:27:44.405277"], ["updated_at", "2018-09-05 19:27:44.405277"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Crystal Kerluke"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Crystal Kerluke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.410338"], ["updated_at", "2018-09-05 19:27:44.410338"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Siobhan Hand"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Siobhan Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.414602"], ["updated_at", "2018-09-05 19:27:44.414602"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kemberly Lebsack"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kemberly Lebsack"], ["name", "Joaquina Jenkins"], ["address", "Idalia Schroeder"], ["created_at", "2018-09-05 19:27:44.419369"], ["updated_at", "2018-09-05 19:27:44.419369"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jewell Gerhold"], ["service_delivery_unit_id", 60], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (2.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jewell Gerhold"], ["name", "Regena Kassulke"], ["service_type_id", 44], ["base_unit_id", 75], ["utilization_unit_id", 76], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 19:27:44.425637"], ["updated_at", "2018-09-05 19:27:44.425637"]] Mks::Rate::ServiceDeliveryUnit Load (1.3ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jewell Gerhold"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jewell Gerhold"], ["name", "Regena Kassulke"], ["description", "Default bundle for service 'Regena Kassulke'"], ["service_delivery_unit_id", 60], ["created_at", "2018-09-05 19:27:44.433795"], ["updated_at", "2018-09-05 19:27:44.433795"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 52], ["chargeable_service_id", 31]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "mks_rate_service_bundles" Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" ORDER BY "mks_rate_service_bundles"."id" ASC LIMIT $1 [["LIMIT", 1]]  (1.2ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 52]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "charlette.jaskolski@roob.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lashay Ortiz"], ["last_name", "Carol Botsford"], ["email", "charlette.jaskolski@roob.name"], ["password_digest", "$2a$04$c4w2vb7xyGnZx8ofE49.lewcx6wko0uHli4qmg/BvXaOUVilUFzY."], ["created_at", "2018-09-05 19:27:44.452846"], ["updated_at", "2018-09-05 19:27:44.452846"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "su_champlin@kleinschoen.us"], ["LIMIT", 1]] Mks::Auth::User Create (3.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Son Boyle"], ["last_name", "Shantay Bernier"], ["email", "su_champlin@kleinschoen.us"], ["password_digest", "$2a$04$HwEQI83TyVWhqZxigNQZlOI2Z6GqLHAC11gaoVMLPFo6n0A9B541a"], ["created_at", "2018-09-05 19:27:44.460719"], ["updated_at", "2018-09-05 19:27:44.460719"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.7ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Queenie Green"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.5ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Queenie Green"], ["authorized_by", "Shayna Schmeler"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 66], ["approved_by_id", 67], ["created_at", "2018-09-05 19:27:44.473286"], ["updated_at", "2018-09-05 19:27:44.473286"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Queenie Green"], ["id", 8], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "keeley@kleinhammes.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.1ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Katina Hintz"], ["last_name", "Demetra Bahringer"], ["email", "keeley@kleinhammes.name"], ["password_digest", "$2a$04$59NN/7mNT9ol2aDgl3tWAu.XiQXHDXP8sfziAxJPBXKJTgkviVVu6"], ["created_at", "2018-09-05 19:27:44.489121"], ["updated_at", "2018-09-05 19:27:44.489121"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "america@ornbatz.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Cristal Leuschke"], ["last_name", "Bernardine Bednar"], ["email", "america@ornbatz.info"], ["password_digest", "$2a$04$hvmKdb8xLv5hu/pYIAWtT.eAoeNQh/84ibdbsPpN7QaE3MKYql28a"], ["created_at", "2018-09-05 19:27:44.499232"], ["updated_at", "2018-09-05 19:27:44.499232"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Joaquina Mohr"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.3ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "king.goyette@kilbackhyatt.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Larhonda Hauck"], ["last_name", "Lyndon Abshire"], ["email", "king.goyette@kilbackhyatt.ca"], ["password_digest", "$2a$04$MPm.BG1XbgZbmNB8DYDd9ugACTUWnzwdU.xamtYUWUOK46RTIe89y"], ["created_at", "2018-09-05 19:27:44.513197"], ["updated_at", "2018-09-05 19:27:44.513197"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (2.0ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "youlanda.rodriguez@runte.info"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Arlen Becker"], ["last_name", "Cami Gleason"], ["email", "youlanda.rodriguez@runte.info"], ["password_digest", "$2a$04$HMYemujuF8YV2vZv/H9/G.QL2/RUmNgMsJkxqDXBp1Qi9OuuA5m12"], ["created_at", "2018-09-05 19:27:44.522375"], ["updated_at", "2018-09-05 19:27:44.522375"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" IS NULL LIMIT $1 [["LIMIT", 1]]  (1.0ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "loreta@andersonbauch.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Marvella Fay"], ["last_name", "Sindy Bergnaum"], ["email", "loreta@andersonbauch.com"], ["password_digest", "$2a$04$/sLyDdXAd5N8tnjAG1IZXeiXAh2prsgF3Q3MvqavOTiSqKVkeZzEa"], ["created_at", "2018-09-05 19:27:44.538002"], ["updated_at", "2018-09-05 19:27:44.538002"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.5ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "ayanna_jones@mcglynnbrekke.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Un Mueller"], ["last_name", "Tomoko Baumbach"], ["email", "ayanna_jones@mcglynnbrekke.ca"], ["password_digest", "$2a$04$K5fgWDy4/6EsP5dhICAZpO6Lsq29Dx987tteSbHgN7UM9K8tckyqm"], ["created_at", "2018-09-05 19:27:44.546592"], ["updated_at", "2018-09-05 19:27:44.546592"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Karmen Roob"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.2ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Karmen Roob"], ["authorized_by", "Christi Kling"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 72], ["approved_by_id", 73], ["created_at", "2018-09-05 19:27:44.552193"], ["updated_at", "2018-09-05 19:27:44.552193"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "breanne.legros@dooley.biz"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Elli Lubowitz"], ["last_name", "Faye Barrows"], ["email", "breanne.legros@dooley.biz"], ["password_digest", "$2a$04$fSJqC7iojDcoF1Ingj0L.esBO623IXEwClohYS/sbKueO6cwFXuzi"], ["created_at", "2018-09-05 19:27:44.559687"], ["updated_at", "2018-09-05 19:27:44.559687"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "horacio_tremblay@wehnergrady.name"], ["LIMIT", 1]] Mks::Auth::User Create (1.0ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Karon Schaefer"], ["last_name", "Kassie Romaguera"], ["email", "horacio_tremblay@wehnergrady.name"], ["password_digest", "$2a$04$9riykXOSZBKw3Zu1YU1RqeECyMQ8NkPPKIMg5Mbn3jop.eKvYkzkq"], ["created_at", "2018-09-05 19:27:44.566121"], ["updated_at", "2018-09-05 19:27:44.566121"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Karmen Roob"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kari@armstrong.biz"], ["LIMIT", 1]] Mks::Auth::User Create (1.5ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lawana Frami"], ["last_name", "Naoma Considine"], ["email", "kari@armstrong.biz"], ["password_digest", "$2a$04$TMnce11FN2WKpXfT/gVikuL684LayAroexdhZ9XrlmC4UuLvVG7Xm"], ["created_at", "2018-09-05 19:27:44.578141"], ["updated_at", "2018-09-05 19:27:44.578141"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "odilia@goldner.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Damon Douglas"], ["last_name", "Evie Greenholt"], ["email", "odilia@goldner.ca"], ["password_digest", "$2a$04$I2XklWYxBP6kv2YGqlhO5O7r6lRGL.6LLdQaEjQmHBrmtaPfyRWni"], ["created_at", "2018-09-05 19:27:44.587831"], ["updated_at", "2018-09-05 19:27:44.587831"]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lavone McDermott"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.9ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "kyong_marquardt@oga.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Joi Vandervort"], ["last_name", "Shandra Lemke"], ["email", "kyong_marquardt@oga.com"], ["password_digest", "$2a$04$TqPmPOPcmpPwkRlF68FuruhDmu4bpRoEiSGvZe5jdCkat71.q5Ura"], ["created_at", "2018-09-05 19:27:44.603898"], ["updated_at", "2018-09-05 19:27:44.603898"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "larue@gerhold.ca"], ["LIMIT", 1]] Mks::Auth::User Create (1.7ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ria Stark"], ["last_name", "Mervin Zieme"], ["email", "larue@gerhold.ca"], ["password_digest", "$2a$04$eSp0.f8dgTpMw856TJlrT.C7RqtYSlwC0wOAhT5W81Y9jlesx0uGy"], ["created_at", "2018-09-05 19:27:44.612033"], ["updated_at", "2018-09-05 19:27:44.612033"]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Lili King"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.2ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "oneida@vandervort.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.6ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Emmy Daniel"], ["last_name", "Caryl Heidenreich"], ["email", "oneida@vandervort.com"], ["password_digest", "$2a$04$xmJODmSgBD2U/AwFYXEp3u79hFfKFTodH4pO4KBoRgEh0LerAEd6C"], ["created_at", "2018-09-05 19:27:44.626966"], ["updated_at", "2018-09-05 19:27:44.626966"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "raina_wuckert@mcdermottledner.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.4ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Angella Von"], ["last_name", "Damian Von"], ["email", "raina_wuckert@mcdermottledner.us"], ["password_digest", "$2a$04$RmlSwyIpwYbWEQR.RuruEOtq8a6bgwIzFStdu46ncQauImnd2zOTu"], ["created_at", "2018-09-05 19:27:44.636222"], ["updated_at", "2018-09-05 19:27:44.636222"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Keven Dickinson"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "machelle.cummings@towne.ca"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Toney Huels"], ["last_name", "Whitney Robel"], ["email", "machelle.cummings@towne.ca"], ["password_digest", "$2a$04$NnWmDZoLGOzJ6d73lQX3KOPoovFwRXS69/4sfLeg0QyYUvR1vdDhO"], ["created_at", "2018-09-05 19:27:44.649933"], ["updated_at", "2018-09-05 19:27:44.649933"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "sharyl@rohan.co.uk"], ["LIMIT", 1]] Mks::Auth::User Create (1.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Yun Quitzon"], ["last_name", "Sharron Goldner"], ["email", "sharyl@rohan.co.uk"], ["password_digest", "$2a$04$ffptrY6BsGAOVGi5tfoNxeuJCKgwxeoABNmFmKzIbuFIsIHz5JjvG"], ["created_at", "2018-09-05 19:27:44.657354"], ["updated_at", "2018-09-05 19:27:44.657354"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Aida Schmeler"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.8ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "mary@bashirian.com"], ["LIMIT", 1]] Mks::Auth::User Create (0.9ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Ester Rosenbaum"], ["last_name", "Ashely Dickinson"], ["email", "mary@bashirian.com"], ["password_digest", "$2a$04$WtG0LZFs7sprSM7w6PZ5T.tUYg3IdohKgnzJwgqiwYE.AGqBRt5HC"], ["created_at", "2018-09-05 19:27:44.672645"], ["updated_at", "2018-09-05 19:27:44.672645"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Phil Lesch"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.5ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["reference_number", "Phil Lesch"], ["authorized_by", "Fran Keeling"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 84], ["created_at", "2018-09-05 19:27:44.681089"], ["updated_at", "2018-09-05 19:27:44.681089"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Phil Lesch"], ["id", 10], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (0.9ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Collin Dickinson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.5ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Collin Dickinson"], ["name", "Jacquiline Hills"], ["address", "Colby Carroll"], ["created_at", "2018-09-05 19:27:44.700593"], ["updated_at", "2018-09-05 19:27:44.700593"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.6ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rona Schowalter"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.6ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Rona Schowalter"], ["name", "Saul Doyle"], ["description", "Minh Hermann"], ["percent_discount", 100.0], ["service_delivery_unit_id", 61], ["created_at", "2018-09-05 19:27:44.709946"], ["updated_at", "2018-09-05 19:27:44.709946"]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 AND "mks_rate_service_bundles"."id" != $2 LIMIT $3 [["code", "Rona Schowalter"], ["id", 53], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Pamela Mante"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Pamela Mante"], ["name", "Debora Hagenes"], ["address", "Max Casper"], ["created_at", "2018-09-05 19:27:44.721962"], ["updated_at", "2018-09-05 19:27:44.721962"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Yon Kreiger"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yon Kreiger"], ["name", "Taunya Spinka"], ["address", "Margarita Bahringer"], ["created_at", "2018-09-05 19:27:44.735357"], ["updated_at", "2018-09-05 19:27:44.735357"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Tama Beatty"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Alison Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Alison Greenholt"], ["name", "Rupert Aufderhar"], ["address", "Lucretia Feest"], ["created_at", "2018-09-05 19:27:44.744702"], ["updated_at", "2018-09-05 19:27:44.744702"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ferne White"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (1.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Caprice Deckow"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Caprice Deckow"], ["name", "Willodean Gulgowski"], ["address", "Matilde Ondricka"], ["created_at", "2018-09-05 19:27:44.758216"], ["updated_at", "2018-09-05 19:27:44.758216"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Yong Lehner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Yong Lehner"], ["name", "Lawrence Doyle"], ["description", "Jeffery Bednar"], ["percent_discount", 100.0], ["service_delivery_unit_id", 65], ["created_at", "2018-09-05 19:27:44.763432"], ["updated_at", "2018-09-05 19:27:44.763432"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Dorathy Zieme"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Dorathy Zieme"], ["name", "Mable Gusikowski"], ["address", "Katharyn Smith"], ["created_at", "2018-09-05 19:27:44.769097"], ["updated_at", "2018-09-05 19:27:44.769097"]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Yong Lehner"], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.8ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rhona Upton"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rhona Upton"], ["name", "Rosy Abshire"], ["address", "Porter Effertz"], ["created_at", "2018-09-05 19:27:44.782993"], ["updated_at", "2018-09-05 19:27:44.782993"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 AND "mks_rate_service_delivery_units"."id" != $2 LIMIT $3 [["code", "Rhona Upton"], ["id", 67], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Ula Rogahn"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cherise Hodkiewicz"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.4ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Cherise Hodkiewicz"], ["name", "Noemi Durgan"], ["address", "Vernia Rath"], ["created_at", "2018-09-05 19:27:44.804924"], ["updated_at", "2018-09-05 19:27:44.804924"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Cherise Hodkiewicz"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.8ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Margert Ferry"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Mi Lehner"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.5ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Margert Ferry"], ["name", "Mi Lehner"], ["description", "Dolor veniam fugit nihil error voluptas dolores provident quia. Velit non dolores corporis quo. Occaecati dolorum sequi voluptas reiciendis labore perspiciatis libero explicabo. Praesentium omnis consequatur exercitationem eius quas explicabo."], ["created_at", "2018-09-05 19:27:44.822387"], ["updated_at", "2018-09-05 19:27:44.822387"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Candi Hudson"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.5ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Rhonda O'Conner"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.3ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Candi Hudson"], ["name", "Rhonda O'Conner"], ["description", "Ullam officiis quaerat sunt modi asperiores aut sed at. Nihil quod placeat voluptatem porro ullam et beatae. Qui illum maxime eum eum sunt sint. Natus labore necessitatibus accusantium dolore quisquam a cum sit. Dolorem expedita veritatis consequuntur voluptatem accusantium minus."], ["equipment_type_id", 17], ["created_at", "2018-09-05 19:27:44.830299"], ["updated_at", "2018-09-05 19:27:44.830299"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Kayleen Farrell"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Kayleen Farrell"], ["name", "Tambra Hills"], ["description", "Karen Koepp"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 17], ["created_at", "2018-09-05 19:27:44.835312"], ["updated_at", "2018-09-05 19:27:44.835312"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Enid Schimmel"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Lauren Anderson"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.7ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Enid Schimmel"], ["name", "Lauren Anderson"], ["description", "Kate Schiller"], ["created_at", "2018-09-05 19:27:44.841334"], ["updated_at", "2018-09-05 19:27:44.841334"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Evelina Howe"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.9ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Evelina Howe"], ["name", "Bruno Dicki"], ["location_type_id", 17], ["description", "Dean Gottlieb"], ["address", "Santos Denesik"], ["created_at", "2018-09-05 19:27:44.845725"], ["updated_at", "2018-09-05 19:27:44.845725"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Amado Daugherty"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Alene Bruen"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Amado Daugherty"], ["name", "Isis Lang"], ["description", "Mirna Keebler"], ["serial_number", "Alene Bruen"], ["brand", "Jefferey Gorczany"], ["item_model", "Francie Greenholt"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 17], ["current_location_id", 17], ["created_at", "2018-09-05 19:27:44.851240"], ["updated_at", "2018-09-05 19:27:44.851240"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Arlen Nicolas"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Aliza Mueller"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Arlen Nicolas"], ["name", "Aliza Mueller"], ["created_at", "2018-09-05 19:27:44.857372"], ["updated_at", "2018-09-05 19:27:44.857372"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Antonia Murazik"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Antonia Murazik"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.861974"], ["updated_at", "2018-09-05 19:27:44.861974"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kimberly Hegmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kimberly Hegmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.866604"], ["updated_at", "2018-09-05 19:27:44.866604"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vena King"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vena King"], ["name", "Lovella Hessel"], ["address", "Emiko Sporer"], ["created_at", "2018-09-05 19:27:44.871064"], ["updated_at", "2018-09-05 19:27:44.871064"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Donetta Hammes"], ["service_delivery_unit_id", 69], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Donetta Hammes"], ["name", "Keely Wolf"], ["service_type_id", 45], ["base_unit_id", 77], ["utilization_unit_id", 78], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 19:27:44.875543"], ["updated_at", "2018-09-05 19:27:44.875543"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 69], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Donetta Hammes"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Donetta Hammes"], ["name", "Keely Wolf"], ["description", "Default bundle for service 'Keely Wolf'"], ["service_delivery_unit_id", 69], ["created_at", "2018-09-05 19:27:44.880380"], ["updated_at", "2018-09-05 19:27:44.880380"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 55], ["chargeable_service_id", 32]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "equipment_item_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["chargeable_service_id", 32], ["equipment_item_id", 17], ["created_at", "2018-09-05 19:27:44.886465"], ["updated_at", "2018-09-05 19:27:44.886465"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Noella Schimmel"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Jutta Daugherty"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Noella Schimmel"], ["name", "Jutta Daugherty"], ["description", "Id autem magnam et nesciunt sed necessitatibus. Tempora voluptas omnis officia velit consequatur. Beatae rem voluptatem et a reiciendis ut eos. Maiores dolor excepturi aliquid autem."], ["created_at", "2018-09-05 19:27:44.896419"], ["updated_at", "2018-09-05 19:27:44.896419"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Selma Mann"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Elmer Grady"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Selma Mann"], ["name", "Elmer Grady"], ["description", "Autem praesentium et aut totam tempore ullam. Mollitia et molestiae fuga esse voluptate aut facilis. Consequatur architecto inventore voluptates est ipsam. Accusamus repellat libero et provident. Officia qui cum est autem et dolor voluptate."], ["equipment_type_id", 18], ["created_at", "2018-09-05 19:27:44.901458"], ["updated_at", "2018-09-05 19:27:44.901458"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Mamie Denesik"], ["LIMIT", 1]] Mks::Edm::Equipment Create (1.3ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Mamie Denesik"], ["name", "Neil Blanda"], ["description", "Warner Cartwright"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 18], ["created_at", "2018-09-05 19:27:44.905771"], ["updated_at", "2018-09-05 19:27:44.905771"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Nell Mann"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (1.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Shizuko Reinger"], ["LIMIT", 1]] Mks::Edm::LocationType Create (1.4ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Nell Mann"], ["name", "Shizuko Reinger"], ["description", "Austin Gutkowski"], ["created_at", "2018-09-05 19:27:44.916604"], ["updated_at", "2018-09-05 19:27:44.916604"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Elnora Rippin"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (0.8ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Elnora Rippin"], ["name", "Shanta Hilll"], ["location_type_id", 18], ["description", "Ping Zboncak"], ["address", "Rema Cummings"], ["created_at", "2018-09-05 19:27:44.921954"], ["updated_at", "2018-09-05 19:27:44.921954"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Connie Ritchie"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Yaeko Cole"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Connie Ritchie"], ["name", "Hunter Simonis"], ["description", "Erin Muller"], ["serial_number", "Yaeko Cole"], ["brand", "Hollis Wintheiser"], ["item_model", "Oliva Wisoky"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 18], ["current_location_id", 18], ["created_at", "2018-09-05 19:27:44.927360"], ["updated_at", "2018-09-05 19:27:44.927360"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Allen Koss"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lelia Oberbrunner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Allen Koss"], ["name", "Lelia Oberbrunner"], ["created_at", "2018-09-05 19:27:44.933738"], ["updated_at", "2018-09-05 19:27:44.933738"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cedrick Bosco"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cedrick Bosco"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.938086"], ["updated_at", "2018-09-05 19:27:44.938086"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Azalee Zemlak"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Azalee Zemlak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:44.942570"], ["updated_at", "2018-09-05 19:27:44.942570"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Isela Kuhic"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Isela Kuhic"], ["name", "Shanta Cummings"], ["address", "Gabriel Wintheiser"], ["created_at", "2018-09-05 19:27:44.947098"], ["updated_at", "2018-09-05 19:27:44.947098"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Sam Schneider"], ["service_delivery_unit_id", 70], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Sam Schneider"], ["name", "Ossie Schamberger"], ["service_type_id", 46], ["base_unit_id", 79], ["utilization_unit_id", 80], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 19:27:44.951653"], ["updated_at", "2018-09-05 19:27:44.951653"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Sam Schneider"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Sam Schneider"], ["name", "Ossie Schamberger"], ["description", "Default bundle for service 'Ossie Schamberger'"], ["service_delivery_unit_id", 70], ["created_at", "2018-09-05 19:27:44.957153"], ["updated_at", "2018-09-05 19:27:44.957153"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 56], ["chargeable_service_id", 33]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Deedee Lesch"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Maryanna Keeling"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (0.7ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Deedee Lesch"], ["name", "Maryanna Keeling"], ["description", "Expedita ut nihil excepturi debitis odit. Optio sed et natus aperiam totam et. Dolores eum modi provident nulla quia consequatur saepe. Voluptatem in quo quis omnis itaque at praesentium."], ["created_at", "2018-09-05 19:27:44.971317"], ["updated_at", "2018-09-05 19:27:44.971317"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Barton Schowalter"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Siu Okuneva"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (0.9ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Barton Schowalter"], ["name", "Siu Okuneva"], ["description", "Maiores porro et error dolorum officiis consequatur. Et quas aperiam illo omnis. Delectus ea perferendis labore vero ut laboriosam consequatur alias. Occaecati ut a sed doloribus eveniet ut. Doloremque qui in tempore aut iste aliquid et."], ["equipment_type_id", 19], ["created_at", "2018-09-05 19:27:44.976730"], ["updated_at", "2018-09-05 19:27:44.976730"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Bret Feil"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Bret Feil"], ["name", "Tarra Bailey"], ["description", "Bryanna Cartwright"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 19], ["created_at", "2018-09-05 19:27:44.983519"], ["updated_at", "2018-09-05 19:27:44.983519"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Merideth Rogahn"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Dana Gislason"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.8ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Merideth Rogahn"], ["name", "Dana Gislason"], ["description", "Roxanna Rutherford"], ["created_at", "2018-09-05 19:27:44.991711"], ["updated_at", "2018-09-05 19:27:44.991711"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Marcos Daugherty"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.1ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Marcos Daugherty"], ["name", "Izetta Beahan"], ["location_type_id", 19], ["description", "Kori Jewess"], ["address", "Emmanuel Barrows"], ["created_at", "2018-09-05 19:27:44.998078"], ["updated_at", "2018-09-05 19:27:44.998078"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Robert O'Keefe"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (1.1ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Frankie Heaney"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.2ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Robert O'Keefe"], ["name", "Janeth Gleason"], ["description", "Karl Schmitt"], ["serial_number", "Frankie Heaney"], ["brand", "Clemmie Kub"], ["item_model", "Erline Kuphal"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 19], ["current_location_id", 19], ["created_at", "2018-09-05 19:27:45.004932"], ["updated_at", "2018-09-05 19:27:45.004932"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.2ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leatha Homenick"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Rene Witting"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leatha Homenick"], ["name", "Rene Witting"], ["created_at", "2018-09-05 19:27:45.016808"], ["updated_at", "2018-09-05 19:27:45.016808"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Toshia Goyette"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Toshia Goyette"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.025117"], ["updated_at", "2018-09-05 19:27:45.025117"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Latoyia Blanda"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Latoyia Blanda"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.030929"], ["updated_at", "2018-09-05 19:27:45.030929"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kara McDermott"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kara McDermott"], ["name", "Yoshiko Johns"], ["address", "Luisa Grant"], ["created_at", "2018-09-05 19:27:45.035451"], ["updated_at", "2018-09-05 19:27:45.035451"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Alta Moore"], ["service_delivery_unit_id", 71], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Alta Moore"], ["name", "Valarie Abernathy"], ["service_type_id", 47], ["base_unit_id", 81], ["utilization_unit_id", 82], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 19:27:45.039780"], ["updated_at", "2018-09-05 19:27:45.039780"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 71], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Alta Moore"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (13.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Alta Moore"], ["name", "Valarie Abernathy"], ["description", "Default bundle for service 'Valarie Abernathy'"], ["service_delivery_unit_id", 71], ["created_at", "2018-09-05 19:27:45.045225"], ["updated_at", "2018-09-05 19:27:45.045225"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.5ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 57], ["chargeable_service_id", 34]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentType Exists (0.9ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."code" = $1 LIMIT $2 [["code", "Wava Becker"], ["LIMIT", 1]] Mks::Edm::EquipmentType Exists (1.0ms) SELECT 1 AS one FROM "mks_edm_equipment_types" WHERE "mks_edm_equipment_types"."name" = $1 LIMIT $2 [["name", "Maren Johns"], ["LIMIT", 1]] Mks::Edm::EquipmentType Create (1.4ms) INSERT INTO "mks_edm_equipment_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Wava Becker"], ["name", "Maren Johns"], ["description", "Nesciunt earum aspernatur et at. Eos sed doloremque ea eaque nesciunt. Ratione provident perspiciatis ipsa sed reiciendis dolores vel. Et sit omnis repudiandae nobis officiis quis."], ["created_at", "2018-09-05 19:27:45.074545"], ["updated_at", "2018-09-05 19:27:45.074545"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentCategory Exists (2.3ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."code" = $1 LIMIT $2 [["code", "Monte Smith"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Exists (1.4ms) SELECT 1 AS one FROM "mks_edm_equipment_categories" WHERE "mks_edm_equipment_categories"."name" = $1 LIMIT $2 [["name", "Almeta Von"], ["LIMIT", 1]] Mks::Edm::EquipmentCategory Create (1.0ms) INSERT INTO "mks_edm_equipment_categories" ("code", "name", "description", "equipment_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Monte Smith"], ["name", "Almeta Von"], ["description", "Et itaque hic et dicta enim est facilis ut. Quibusdam quo eveniet in impedit ratione. Hic dolore rerum earum praesentium. Voluptas omnis officiis placeat aut officia possimus non."], ["equipment_type_id", 20], ["created_at", "2018-09-05 19:27:45.085589"], ["updated_at", "2018-09-05 19:27:45.085589"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::Equipment Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipments" WHERE "mks_edm_equipments"."code" = $1 LIMIT $2 [["code", "Felton Kreiger"], ["LIMIT", 1]] Mks::Edm::Equipment Create (0.9ms) INSERT INTO "mks_edm_equipments" ("code", "name", "description", "minimum_acquisition_time", "equipment_category_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Felton Kreiger"], ["name", "Salvador Hickle"], ["description", "Octavia Blick"], ["minimum_acquisition_time", 1.5], ["equipment_category_id", 20], ["created_at", "2018-09-05 19:27:45.090348"], ["updated_at", "2018-09-05 19:27:45.090348"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Edm::LocationType Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."code" = $1 LIMIT $2 [["code", "Bruno Casper"], ["LIMIT", 1]] Mks::Edm::LocationType Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_location_types" WHERE "mks_edm_location_types"."name" = $1 LIMIT $2 [["name", "Rhiannon Lynch"], ["LIMIT", 1]] Mks::Edm::LocationType Create (0.9ms) INSERT INTO "mks_edm_location_types" ("code", "name", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Bruno Casper"], ["name", "Rhiannon Lynch"], ["description", "Genevive Wilderman"], ["created_at", "2018-09-05 19:27:45.096993"], ["updated_at", "2018-09-05 19:27:45.096993"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentLocation Exists (0.7ms) SELECT 1 AS one FROM "mks_edm_equipment_locations" WHERE "mks_edm_equipment_locations"."code" = $1 LIMIT $2 [["code", "Heather Anderson"], ["LIMIT", 1]] Mks::Edm::EquipmentLocation Create (1.0ms) INSERT INTO "mks_edm_equipment_locations" ("code", "name", "location_type_id", "description", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Heather Anderson"], ["name", "Eunice Lockman"], ["location_type_id", 20], ["description", "Babara Kozey"], ["address", "Josiah Mueller"], ["created_at", "2018-09-05 19:27:45.101411"], ["updated_at", "2018-09-05 19:27:45.101411"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Edm::EquipmentItem Exists (0.8ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."code" = $1 LIMIT $2 [["code", "Kevin Lebsack"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Exists (0.6ms) SELECT 1 AS one FROM "mks_edm_equipment_items" WHERE "mks_edm_equipment_items"."serial_number" = $1 LIMIT $2 [["serial_number", "Charlene Schuppe"], ["LIMIT", 1]] Mks::Edm::EquipmentItem Create (1.0ms) INSERT INTO "mks_edm_equipment_items" ("code", "name", "description", "serial_number", "brand", "item_model", "purchase_price", "purchase_date", "equipment_id", "current_location_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["code", "Kevin Lebsack"], ["name", "Ying Farrell"], ["description", "Clotilde Yost"], ["serial_number", "Charlene Schuppe"], ["brand", "Manie Schowalter"], ["item_model", "Reinaldo Klein"], ["purchase_price", 1.5], ["purchase_date", "4713-01-01 BC"], ["equipment_id", 20], ["current_location_id", 20], ["created_at", "2018-09-05 19:27:45.107108"], ["updated_at", "2018-09-05 19:27:45.107108"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Margo Dickens"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Leda Douglas"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Margo Dickens"], ["name", "Leda Douglas"], ["created_at", "2018-09-05 19:27:45.117907"], ["updated_at", "2018-09-05 19:27:45.117907"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["code", "Margo Dickens"], ["id", 48], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 AND "mks_rate_service_types"."id" != $2 LIMIT $3 [["name", "Leda Douglas"], ["id", 48], ["LIMIT", 1]]  (1.2ms) ROLLBACK  (1.0ms) BEGIN Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" IS NULL LIMIT $1 [["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Pamila Connelly"], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Ha Kemmer"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rhonda Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tyesha Goldner"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.3ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Rhonda Wuckert"], ["name", "Tyesha Goldner"], ["created_at", "2018-09-05 19:27:45.150173"], ["updated_at", "2018-09-05 19:27:45.150173"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Rhonda Wuckert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Danny Carter"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leon Hessel"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Todd Halvorson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leon Hessel"], ["name", "Todd Halvorson"], ["created_at", "2018-09-05 19:27:45.163885"], ["updated_at", "2018-09-05 19:27:45.163885"]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Valda O'Connell"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Todd Halvorson"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Grant Kuhlman"], ["LIMIT", 1]]  (0.9ms) ROLLBACK  (0.5ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.6ms) BEGIN Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tamekia Keebler"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Anh Shanahan"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Anh Shanahan"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.200015"], ["updated_at", "2018-09-05 19:27:45.200015"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Anh Shanahan"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Abdul Muller"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (1.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Nola Carter"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (2.1ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Abdul Muller"], ["name", "Nola Carter"], ["created_at", "2018-09-05 19:27:45.219270"], ["updated_at", "2018-09-05 19:27:45.219270"]]  (4.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Erwin Bartoletti"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Erwin Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.231142"], ["updated_at", "2018-09-05 19:27:45.231142"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hildred Kshlerin"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hildred Kshlerin"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.236009"], ["updated_at", "2018-09-05 19:27:45.236009"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vilma Paucek"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vilma Paucek"], ["name", "Herb Doyle"], ["address", "Cristie Goyette"], ["created_at", "2018-09-05 19:27:45.240581"], ["updated_at", "2018-09-05 19:27:45.240581"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Gail Kautzer"], ["service_delivery_unit_id", 72], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Gail Kautzer"], ["name", "America Grimes"], ["service_type_id", 51], ["base_unit_id", 84], ["utilization_unit_id", 85], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 19:27:45.245474"], ["updated_at", "2018-09-05 19:27:45.245474"]] Mks::Rate::ServiceDeliveryUnit Load (2.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Gail Kautzer"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.2ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Gail Kautzer"], ["name", "America Grimes"], ["description", "Default bundle for service 'America Grimes'"], ["service_delivery_unit_id", 72], ["created_at", "2018-09-05 19:27:45.252168"], ["updated_at", "2018-09-05 19:27:45.252168"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 58], ["chargeable_service_id", 35]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Irvin Denesik"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Margo Hirthe"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Irvin Denesik"], ["name", "Margo Hirthe"], ["created_at", "2018-09-05 19:27:45.261573"], ["updated_at", "2018-09-05 19:27:45.261573"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.5ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cristina Ratke"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.3ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cristina Ratke"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.268751"], ["updated_at", "2018-09-05 19:27:45.268751"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Marian Armstrong"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Marian Armstrong"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.275064"], ["updated_at", "2018-09-05 19:27:45.275064"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Therese Lang"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Therese Lang"], ["name", "Talitha Luettgen"], ["address", "Vern Okuneva"], ["created_at", "2018-09-05 19:27:45.281050"], ["updated_at", "2018-09-05 19:27:45.281050"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Marion Ledner"], ["service_delivery_unit_id", 73], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Marion Ledner"], ["name", "Golda McDermott"], ["service_type_id", 52], ["base_unit_id", 86], ["utilization_unit_id", 87], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 19:27:45.286434"], ["updated_at", "2018-09-05 19:27:45.286434"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 73], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Marion Ledner"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Marion Ledner"], ["name", "Golda McDermott"], ["description", "Default bundle for service 'Golda McDermott'"], ["service_delivery_unit_id", 73], ["created_at", "2018-09-05 19:27:45.291584"], ["updated_at", "2018-09-05 19:27:45.291584"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 59], ["chargeable_service_id", 36]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Melisa Kunde"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Kimberli Buckridge"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Melisa Kunde"], ["name", "Kimberli Buckridge"], ["created_at", "2018-09-05 19:27:45.301458"], ["updated_at", "2018-09-05 19:27:45.301458"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mikaela Homenick"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mikaela Homenick"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.306792"], ["updated_at", "2018-09-05 19:27:45.306792"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Jimmy Tromp"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.1ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Jimmy Tromp"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.312103"], ["updated_at", "2018-09-05 19:27:45.312103"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Amelia Greenholt"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Amelia Greenholt"], ["name", "Louis Feeney"], ["address", "Macy Daniel"], ["created_at", "2018-09-05 19:27:45.317956"], ["updated_at", "2018-09-05 19:27:45.317956"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Londa Herman"], ["service_delivery_unit_id", 74], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.7ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Londa Herman"], ["name", "Clarice Gaylord"], ["service_type_id", 53], ["base_unit_id", 88], ["utilization_unit_id", 89], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 19:27:45.323947"], ["updated_at", "2018-09-05 19:27:45.323947"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Londa Herman"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Londa Herman"], ["name", "Clarice Gaylord"], ["description", "Default bundle for service 'Clarice Gaylord'"], ["service_delivery_unit_id", 74], ["created_at", "2018-09-05 19:27:45.330761"], ["updated_at", "2018-09-05 19:27:45.330761"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 60], ["chargeable_service_id", 37]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (1.1ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Load (0.9ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 36], ["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (1.1ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 35], ["base_rate", 100.0], ["utilization_rate", 50.0], ["created_at", "2018-09-05 19:27:45.344449"], ["updated_at", "2018-09-05 19:27:45.344449"]] Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Mks::Rate::ServiceRate Create (0.9ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 36], ["base_rate", 200.0], ["utilization_rate", 70.0], ["created_at", "2018-09-05 19:27:45.348064"], ["updated_at", "2018-09-05 19:27:45.348064"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "mks_rate_service_rates"  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Isidra Abbott"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Isela Kuphal"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Isidra Abbott"], ["name", "Isela Kuphal"], ["created_at", "2018-09-05 19:27:45.359204"], ["updated_at", "2018-09-05 19:27:45.359204"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Tosha Bartoletti"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Tosha Bartoletti"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.364962"], ["updated_at", "2018-09-05 19:27:45.364962"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dollie Barrows"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dollie Barrows"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.370338"], ["updated_at", "2018-09-05 19:27:45.370338"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Kathi Davis"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Kathi Davis"], ["name", "Hildegard Keeling"], ["address", "Valerie Abernathy"], ["created_at", "2018-09-05 19:27:45.376368"], ["updated_at", "2018-09-05 19:27:45.376368"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (2.0ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Rossana Schultz"], ["service_delivery_unit_id", 75], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.2ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Rossana Schultz"], ["name", "Rick Conn"], ["service_type_id", 54], ["base_unit_id", 90], ["utilization_unit_id", 91], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 19:27:45.385640"], ["updated_at", "2018-09-05 19:27:45.385640"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 75], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Rossana Schultz"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.3ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Rossana Schultz"], ["name", "Rick Conn"], ["description", "Default bundle for service 'Rick Conn'"], ["service_delivery_unit_id", 75], ["created_at", "2018-09-05 19:27:45.391393"], ["updated_at", "2018-09-05 19:27:45.391393"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 61], ["chargeable_service_id", 38]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceRate Create (1.0ms) INSERT INTO "mks_rate_service_rates" ("chargeable_service_id", "base_rate", "utilization_rate", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["chargeable_service_id", 38], ["base_rate", 100.0], ["utilization_rate", 20.0], ["created_at", "2018-09-05 19:27:45.398119"], ["updated_at", "2018-09-05 19:27:45.398119"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.8ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."chargeable_service_id" = $1 AND "mks_rate_service_rates"."equipment_item_id" IS NULL LIMIT $2 [["chargeable_service_id", 38], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Mks::Rate::ServiceRate Update (0.9ms) UPDATE "mks_rate_service_rates" SET "base_rate" = $1, "updated_at" = $2 WHERE "mks_rate_service_rates"."id" = $3 [["base_rate", 300.0], ["updated_at", "2018-09-05 19:27:45.404301"], ["id", 10]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceRate Load (0.6ms) SELECT "mks_rate_service_rates".* FROM "mks_rate_service_rates" WHERE "mks_rate_service_rates"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.1ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "jacqui@west.us"], ["LIMIT", 1]] Mks::Auth::User Create (1.3ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Shakira Raynor"], ["last_name", "Ricky Jacobs"], ["email", "jacqui@west.us"], ["password_digest", "$2a$04$H.Pq.DD3S6Lo654FlotjiOuJsqfA1uppgmW2kq5mfJz8LGjp1Om.q"], ["created_at", "2018-09-05 19:27:45.416616"], ["updated_at", "2018-09-05 19:27:45.416616"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (1.6ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dick@johnson.com"], ["LIMIT", 1]] Mks::Auth::User Create (1.5ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lucrecia Altenwerth"], ["last_name", "Jamila Schaden"], ["email", "dick@johnson.com"], ["password_digest", "$2a$04$slX3KbVXG/qE0G1.IGTcGe4mRuwRgMrLglFbbklvMPTlLzqFl5Jqy"], ["created_at", "2018-09-05 19:27:45.426975"], ["updated_at", "2018-09-05 19:27:45.426975"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Auth::User Exists (0.9ms) SELECT 1 AS one FROM "mks_auth_users" WHERE LOWER("mks_auth_users"."email") = LOWER($1) LIMIT $2 [["email", "dorotha_frami@huelflatley.name"], ["LIMIT", 1]] Mks::Auth::User Create (0.8ms) INSERT INTO "mks_auth_users" ("first_name", "last_name", "email", "password_digest", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["first_name", "Lorena Nolan"], ["last_name", "Felipe O'Conner"], ["email", "dorotha_frami@huelflatley.name"], ["password_digest", "$2a$04$t2oEOZ7tU2w0WJhaxOJyAuB.hQ.BBa6UuWYAaIzBoemQjaTpSx0CC"], ["created_at", "2018-09-05 19:27:45.435350"], ["updated_at", "2018-09-05 19:27:45.435350"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 LIMIT $2 [["reference_number", "Christia Glover"], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Create (1.0ms) INSERT INTO "mks_rate_rate_change_requests" ("reference_number", "authorized_by", "effective_on", "authorized_on", "rates", "created_by_id", "approved_by_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["reference_number", "Christia Glover"], ["authorized_by", "Jerrod Brakus"], ["effective_on", "2018-09-05"], ["authorized_on", "2018-09-05"], ["rates", "[{\"chargeable_service_id\":1,\"base_rate\":100,\"utilization_rate\":50},{\"chargeable_service_id\":2,\"base_rate\":100,\"utilization_rate\":25}]"], ["created_by_id", 86], ["approved_by_id", 87], ["created_at", "2018-09-05 19:27:45.440498"], ["updated_at", "2018-09-05 19:27:45.440498"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."reference_number" = $1 AND "mks_rate_rate_change_requests"."id" != $2 LIMIT $3 [["reference_number", "Christia Glover"], ["id", 11], ["LIMIT", 1]] Mks::Rate::RateChangeRequest Update (1.0ms) UPDATE "mks_rate_rate_change_requests" SET "status" = $1, "approved_by_id" = $2, "updated_at" = $3 WHERE "mks_rate_rate_change_requests"."id" = $4 [["status", "APPROVED"], ["approved_by_id", 85], ["updated_at", "2018-09-05 19:27:45.446522"], ["id", 11]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::RateChangeRequest Load (0.8ms) SELECT "mks_rate_rate_change_requests".* FROM "mks_rate_rate_change_requests" WHERE "mks_rate_rate_change_requests"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Mks::Auth::User Load (0.9ms) SELECT "mks_auth_users".* FROM "mks_auth_users" WHERE "mks_auth_users"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Meta Toy"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.2ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Meta Toy"], ["name", "Epifania Jenkins"], ["address", "Latesha Wilkinson"], ["created_at", "2018-09-05 19:27:45.459988"], ["updated_at", "2018-09-05 19:27:45.459988"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Eugene Parker"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Eugene Parker"], ["name", "Betty Jacobi"], ["description", "Petrina Kuhic"], ["percent_discount", 100.0], ["service_delivery_unit_id", 76], ["created_at", "2018-09-05 19:27:45.466594"], ["updated_at", "2018-09-05 19:27:45.466594"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Brian Goldner"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Tressie Runolfsson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Brian Goldner"], ["name", "Tressie Runolfsson"], ["created_at", "2018-09-05 19:27:45.474895"], ["updated_at", "2018-09-05 19:27:45.474895"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Hoa Altenwerth"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Hoa Altenwerth"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.481072"], ["updated_at", "2018-09-05 19:27:45.481072"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Vina Kub"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Vina Kub"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.486207"], ["updated_at", "2018-09-05 19:27:45.486207"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marybeth Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.8ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marybeth Parisian"], ["name", "Saturnina Rohan"], ["address", "Lauryn Herzog"], ["created_at", "2018-09-05 19:27:45.491280"], ["updated_at", "2018-09-05 19:27:45.491280"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jenni Bergstrom"], ["service_delivery_unit_id", 77], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jenni Bergstrom"], ["name", "Hilma Lueilwitz"], ["service_type_id", 55], ["base_unit_id", 92], ["utilization_unit_id", 93], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 19:27:45.496241"], ["updated_at", "2018-09-05 19:27:45.496241"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 77], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jenni Bergstrom"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jenni Bergstrom"], ["name", "Hilma Lueilwitz"], ["description", "Default bundle for service 'Hilma Lueilwitz'"], ["service_delivery_unit_id", 77], ["created_at", "2018-09-05 19:27:45.501264"], ["updated_at", "2018-09-05 19:27:45.501264"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 63], ["chargeable_service_id", 39]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Krystin Fay"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Enoch Fritsch"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Krystin Fay"], ["name", "Enoch Fritsch"], ["created_at", "2018-09-05 19:27:45.510474"], ["updated_at", "2018-09-05 19:27:45.510474"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Melinda Zboncak"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Melinda Zboncak"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.515427"], ["updated_at", "2018-09-05 19:27:45.515427"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Yasuko Fay"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Yasuko Fay"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.519935"], ["updated_at", "2018-09-05 19:27:45.519935"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Marcelo Harris"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Marcelo Harris"], ["name", "Rosetta Goyette"], ["address", "Cassi Crona"], ["created_at", "2018-09-05 19:27:45.524675"], ["updated_at", "2018-09-05 19:27:45.524675"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Lemuel Ondricka"], ["service_delivery_unit_id", 78], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Lemuel Ondricka"], ["name", "Keren Abbott"], ["service_type_id", 56], ["base_unit_id", 94], ["utilization_unit_id", 95], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 19:27:45.529203"], ["updated_at", "2018-09-05 19:27:45.529203"]] Mks::Rate::ServiceDeliveryUnit Load (1.1ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 78], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Lemuel Ondricka"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.0ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Lemuel Ondricka"], ["name", "Keren Abbott"], ["description", "Default bundle for service 'Keren Abbott'"], ["service_delivery_unit_id", 78], ["created_at", "2018-09-05 19:27:45.535358"], ["updated_at", "2018-09-05 19:27:45.535358"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 64], ["chargeable_service_id", 40]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Leslee Feeney"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Marvin Thompson"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Leslee Feeney"], ["name", "Marvin Thompson"], ["created_at", "2018-09-05 19:27:45.544434"], ["updated_at", "2018-09-05 19:27:45.544434"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Dakota Harvey"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Dakota Harvey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.549051"], ["updated_at", "2018-09-05 19:27:45.549051"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Bobbie Skiles"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Bobbie Skiles"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.553741"], ["updated_at", "2018-09-05 19:27:45.553741"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lai Ritchie"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lai Ritchie"], ["name", "Lloyd Glover"], ["address", "Carl Baumbach"], ["created_at", "2018-09-05 19:27:45.558291"], ["updated_at", "2018-09-05 19:27:45.558291"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Paula Mosciski"], ["service_delivery_unit_id", 79], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Paula Mosciski"], ["name", "Issac Sporer"], ["service_type_id", 57], ["base_unit_id", 96], ["utilization_unit_id", 97], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 19:27:45.562763"], ["updated_at", "2018-09-05 19:27:45.562763"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 79], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Paula Mosciski"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Paula Mosciski"], ["name", "Issac Sporer"], ["description", "Default bundle for service 'Issac Sporer'"], ["service_delivery_unit_id", 79], ["created_at", "2018-09-05 19:27:45.568522"], ["updated_at", "2018-09-05 19:27:45.568522"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 65], ["chargeable_service_id", 41]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 39], ["id", 40], ["id", 41]] Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 39]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 40]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 62], ["chargeable_service_id", 41]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]]  (1.3ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 62]]  (1.1ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Isaiah Williamson"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Isaiah Williamson"], ["name", "Jefferson Waters"], ["address", "Catina Spencer"], ["created_at", "2018-09-05 19:27:45.598866"], ["updated_at", "2018-09-05 19:27:45.598866"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Britney Morar"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Britney Morar"], ["name", "Selma Kunze"], ["description", "Margene Ritchie"], ["percent_discount", 100.0], ["service_delivery_unit_id", 80], ["created_at", "2018-09-05 19:27:45.603384"], ["updated_at", "2018-09-05 19:27:45.603384"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Selena Bosco"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Arica Abshire"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Selena Bosco"], ["name", "Arica Abshire"], ["created_at", "2018-09-05 19:27:45.609185"], ["updated_at", "2018-09-05 19:27:45.609185"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Kiersten Will"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Kiersten Will"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.613707"], ["updated_at", "2018-09-05 19:27:45.613707"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Paige Gaylord"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Paige Gaylord"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.620569"], ["updated_at", "2018-09-05 19:27:45.620569"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lizeth Volkman"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lizeth Volkman"], ["name", "Nigel Welch"], ["address", "Kala Gleichner"], ["created_at", "2018-09-05 19:27:45.626941"], ["updated_at", "2018-09-05 19:27:45.626941"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Cristin Koelpin"], ["service_delivery_unit_id", 81], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.1ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Cristin Koelpin"], ["name", "Dierdre Oga"], ["service_type_id", 58], ["base_unit_id", 98], ["utilization_unit_id", 99], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 19:27:45.633082"], ["updated_at", "2018-09-05 19:27:45.633082"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Cristin Koelpin"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Cristin Koelpin"], ["name", "Dierdre Oga"], ["description", "Default bundle for service 'Dierdre Oga'"], ["service_delivery_unit_id", 81], ["created_at", "2018-09-05 19:27:45.639147"], ["updated_at", "2018-09-05 19:27:45.639147"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 67], ["chargeable_service_id", 42]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Angelia Hilpert"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Leota Fritsch"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Angelia Hilpert"], ["name", "Leota Fritsch"], ["created_at", "2018-09-05 19:27:45.649177"], ["updated_at", "2018-09-05 19:27:45.649177"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Paola Stiedemann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Paola Stiedemann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.654120"], ["updated_at", "2018-09-05 19:27:45.654120"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Maryann Senger"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Maryann Senger"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.659094"], ["updated_at", "2018-09-05 19:27:45.659094"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Vannesa Morissette"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.9ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Vannesa Morissette"], ["name", "Cyrus Halvorson"], ["address", "Earnestine Nienow"], ["created_at", "2018-09-05 19:27:45.663912"], ["updated_at", "2018-09-05 19:27:45.663912"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Ling Lesch"], ["service_delivery_unit_id", 82], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.0ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Ling Lesch"], ["name", "Nita Armstrong"], ["service_type_id", 59], ["base_unit_id", 100], ["utilization_unit_id", 101], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 19:27:45.668841"], ["updated_at", "2018-09-05 19:27:45.668841"]] Mks::Rate::ServiceDeliveryUnit Load (0.8ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 82], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Ling Lesch"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Ling Lesch"], ["name", "Nita Armstrong"], ["description", "Default bundle for service 'Nita Armstrong'"], ["service_delivery_unit_id", 82], ["created_at", "2018-09-05 19:27:45.674774"], ["updated_at", "2018-09-05 19:27:45.674774"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 68], ["chargeable_service_id", 43]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Kira Leannon"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Mel O'Hara"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.7ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Kira Leannon"], ["name", "Mel O'Hara"], ["created_at", "2018-09-05 19:27:45.684513"], ["updated_at", "2018-09-05 19:27:45.684513"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Rebecca Abernathy"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Rebecca Abernathy"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.689158"], ["updated_at", "2018-09-05 19:27:45.689158"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Leola Lynch"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.7ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Leola Lynch"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.693652"], ["updated_at", "2018-09-05 19:27:45.693652"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.6ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Yael Wintheiser"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Yael Wintheiser"], ["name", "Jasper Wolf"], ["address", "Kanisha Sipes"], ["created_at", "2018-09-05 19:27:45.697950"], ["updated_at", "2018-09-05 19:27:45.697950"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Aracelis Parisian"], ["service_delivery_unit_id", 83], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Aracelis Parisian"], ["name", "Angel Wilkinson"], ["service_type_id", 60], ["base_unit_id", 102], ["utilization_unit_id", 103], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 19:27:45.702486"], ["updated_at", "2018-09-05 19:27:45.702486"]] Mks::Rate::ServiceDeliveryUnit Load (0.6ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Aracelis Parisian"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Aracelis Parisian"], ["name", "Angel Wilkinson"], ["description", "Default bundle for service 'Angel Wilkinson'"], ["service_delivery_unit_id", 83], ["created_at", "2018-09-05 19:27:45.707170"], ["updated_at", "2018-09-05 19:27:45.707170"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 69], ["chargeable_service_id", 44]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 42]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 43]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 66], ["chargeable_service_id", 44]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.6ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" = $1 [["id", 44]] Mks::Rate::ChargeableService Load (0.7ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.8ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" IN ($2, $3) [["service_bundle_id", 66], ["chargeable_service_id", 42], ["chargeable_service_id", 43]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.5ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]] Mks::Rate::ChargeableService Load (1.0ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 66]]  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Rickey Kertzmann"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Rickey Kertzmann"], ["name", "Allen Gulgowski"], ["address", "Valentine Stamm"], ["created_at", "2018-09-05 19:27:45.738448"], ["updated_at", "2018-09-05 19:27:45.738448"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Nohemi Bernier"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.1ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "percent_discount", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["code", "Nohemi Bernier"], ["name", "Sharlene Okuneva"], ["description", "Kelley Blick"], ["percent_discount", 100.0], ["service_delivery_unit_id", 84], ["created_at", "2018-09-05 19:27:45.744492"], ["updated_at", "2018-09-05 19:27:45.744492"]]  (4.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (2.5ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Danae Shields"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Jessenia Heller"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (1.0ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Danae Shields"], ["name", "Jessenia Heller"], ["created_at", "2018-09-05 19:27:45.766789"], ["updated_at", "2018-09-05 19:27:45.766789"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Mui Yundt"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mui Yundt"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.773070"], ["updated_at", "2018-09-05 19:27:45.773070"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Oren Mills"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Oren Mills"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.780324"], ["updated_at", "2018-09-05 19:27:45.780324"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Norene Hessel"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.3ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Norene Hessel"], ["name", "Alesia Gislason"], ["address", "Reanna Kuvalis"], ["created_at", "2018-09-05 19:27:45.786029"], ["updated_at", "2018-09-05 19:27:45.786029"]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Suzanne Weber"], ["service_delivery_unit_id", 85], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.7ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Suzanne Weber"], ["name", "Brandon Heaney"], ["service_type_id", 61], ["base_unit_id", 104], ["utilization_unit_id", 105], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 19:27:45.793368"], ["updated_at", "2018-09-05 19:27:45.793368"]] Mks::Rate::ServiceDeliveryUnit Load (1.2ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Suzanne Weber"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Suzanne Weber"], ["name", "Brandon Heaney"], ["description", "Default bundle for service 'Brandon Heaney'"], ["service_delivery_unit_id", 85], ["created_at", "2018-09-05 19:27:45.801268"], ["updated_at", "2018-09-05 19:27:45.801268"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (8.7ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 71], ["chargeable_service_id", 45]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Aline Kulas"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Lavette Frami"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (3.6ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Aline Kulas"], ["name", "Lavette Frami"], ["created_at", "2018-09-05 19:27:45.821118"], ["updated_at", "2018-09-05 19:27:45.821118"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.9ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Luigi Hand"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.0ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Luigi Hand"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.830108"], ["updated_at", "2018-09-05 19:27:45.830108"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Ramona Kozey"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (1.2ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Ramona Kozey"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.836274"], ["updated_at", "2018-09-05 19:27:45.836274"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.3ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Tereasa Collins"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (3.0ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Tereasa Collins"], ["name", "Kendal Braun"], ["address", "Nick Ebert"], ["created_at", "2018-09-05 19:27:45.845043"], ["updated_at", "2018-09-05 19:27:45.845043"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (1.1ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Kasandra Bins"], ["service_delivery_unit_id", 86], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (1.4ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Kasandra Bins"], ["name", "Felice Heathcote"], ["service_type_id", 62], ["base_unit_id", 106], ["utilization_unit_id", 107], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 19:27:45.854754"], ["updated_at", "2018-09-05 19:27:45.854754"]] Mks::Rate::ServiceDeliveryUnit Load (0.9ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 86], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Kasandra Bins"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (1.5ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Kasandra Bins"], ["name", "Felice Heathcote"], ["description", "Default bundle for service 'Felice Heathcote'"], ["service_delivery_unit_id", 86], ["created_at", "2018-09-05 19:27:45.861567"], ["updated_at", "2018-09-05 19:27:45.861567"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.6ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 72], ["chargeable_service_id", 46]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (1.4ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "My Mitchell"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Vannessa Swift"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.8ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "My Mitchell"], ["name", "Vannessa Swift"], ["created_at", "2018-09-05 19:27:45.875005"], ["updated_at", "2018-09-05 19:27:45.875005"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Natisha McClure"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (2.5ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Natisha McClure"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.880030"], ["updated_at", "2018-09-05 19:27:45.880030"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Twana Volkman"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Twana Volkman"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.887542"], ["updated_at", "2018-09-05 19:27:45.887542"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Alison Schamberger"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (1.1ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Alison Schamberger"], ["name", "Grisel Boyer"], ["address", "Dwayne Hilpert"], ["created_at", "2018-09-05 19:27:45.893658"], ["updated_at", "2018-09-05 19:27:45.893658"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Johnny Nikolaus"], ["service_delivery_unit_id", 87], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Johnny Nikolaus"], ["name", "Fabian Mitchell"], ["service_type_id", 63], ["base_unit_id", 108], ["utilization_unit_id", 109], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 19:27:45.900393"], ["updated_at", "2018-09-05 19:27:45.900393"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 87], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Johnny Nikolaus"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.8ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Johnny Nikolaus"], ["name", "Fabian Mitchell"], ["description", "Default bundle for service 'Fabian Mitchell'"], ["service_delivery_unit_id", 87], ["created_at", "2018-09-05 19:27:45.905285"], ["updated_at", "2018-09-05 19:27:45.905285"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.8ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 73], ["chargeable_service_id", 47]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."code" = $1 LIMIT $2 [["code", "Lashawna Tillman"], ["LIMIT", 1]] Mks::Rate::ServiceType Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_types" WHERE "mks_rate_service_types"."name" = $1 LIMIT $2 [["name", "Arlinda Hoeger"], ["LIMIT", 1]] Mks::Rate::ServiceType Create (0.9ms) INSERT INTO "mks_rate_service_types" ("code", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["code", "Lashawna Tillman"], ["name", "Arlinda Hoeger"], ["created_at", "2018-09-05 19:27:45.913758"], ["updated_at", "2018-09-05 19:27:45.913758"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Cyndi Davis"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.8ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Cyndi Davis"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.918699"], ["updated_at", "2018-09-05 19:27:45.918699"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::UnitOfCharge Exists (1.0ms) SELECT 1 AS one FROM "mks_rate_unit_of_charges" WHERE "mks_rate_unit_of_charges"."name" = $1 LIMIT $2 [["name", "Goldie Gutmann"], ["LIMIT", 1]] Mks::Rate::UnitOfCharge Create (0.9ms) INSERT INTO "mks_rate_unit_of_charges" ("name", "unit_variables", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Goldie Gutmann"], ["unit_variables", "{\"meter\":\"float\",\"day\":\"float\"}"], ["created_at", "2018-09-05 19:27:45.924100"], ["updated_at", "2018-09-05 19:27:45.924100"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceDeliveryUnit Exists (0.7ms) SELECT 1 AS one FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."code" = $1 LIMIT $2 [["code", "Lashawn Roob"], ["LIMIT", 1]] Mks::Rate::ServiceDeliveryUnit Create (0.7ms) INSERT INTO "mks_rate_service_delivery_units" ("code", "name", "address", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "Lashawn Roob"], ["name", "Shanna White"], ["address", "Keesha Bosco"], ["created_at", "2018-09-05 19:27:45.929509"], ["updated_at", "2018-09-05 19:27:45.929509"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Exists (0.8ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."code" = $1 AND "mks_rate_chargeable_services"."service_delivery_unit_id" = $2 LIMIT $3 [["code", "Jerrie Bartell"], ["service_delivery_unit_id", 88], ["LIMIT", 1]] Mks::Rate::ChargeableService Create (0.9ms) INSERT INTO "mks_rate_chargeable_services" ("code", "name", "service_type_id", "base_unit_id", "utilization_unit_id", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["code", "Jerrie Bartell"], ["name", "Don Kshlerin"], ["service_type_id", 64], ["base_unit_id", 110], ["utilization_unit_id", 111], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 19:27:45.934183"], ["updated_at", "2018-09-05 19:27:45.934183"]] Mks::Rate::ServiceDeliveryUnit Load (0.7ms) SELECT "mks_rate_service_delivery_units".* FROM "mks_rate_service_delivery_units" WHERE "mks_rate_service_delivery_units"."id" = $1 LIMIT $2 [["id", 88], ["LIMIT", 1]] Mks::Rate::ServiceBundle Exists (2.4ms) SELECT 1 AS one FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."code" = $1 LIMIT $2 [["code", "Jerrie Bartell"], ["LIMIT", 1]] Mks::Rate::ServiceBundle Create (0.9ms) INSERT INTO "mks_rate_service_bundles" ("code", "name", "description", "service_delivery_unit_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["code", "Jerrie Bartell"], ["name", "Don Kshlerin"], ["description", "Default bundle for service 'Don Kshlerin'"], ["service_delivery_unit_id", 88], ["created_at", "2018-09-05 19:27:45.941147"], ["updated_at", "2018-09-05 19:27:45.941147"]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 74], ["chargeable_service_id", 48]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.2ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 46]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.6ms) SAVEPOINT active_record_1 Mks::Rate::ChargeableService Load (0.8ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" WHERE "mks_rate_chargeable_services"."id" IN ($1, $2, $3) [["id", 46], ["id", 47], ["id", 48]] Mks::Rate::ChargeableService Load (0.9ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Destroy (0.9ms) DELETE FROM "mks_rate_service_bundles_chargeable_services" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" = $2 [["service_bundle_id", 70], ["chargeable_service_id", 45]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (1.0ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 47]] Mks::Rate::ServiceBundle::HABTM_ChargeableServices Create (0.9ms) INSERT INTO "mks_rate_service_bundles_chargeable_services" ("service_bundle_id", "chargeable_service_id") VALUES ($1, $2) [["service_bundle_id", 70], ["chargeable_service_id", 48]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Mks::Rate::ServiceBundle Load (0.7ms) SELECT "mks_rate_service_bundles".* FROM "mks_rate_service_bundles" WHERE "mks_rate_service_bundles"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]] Mks::Rate::ChargeableService Exists (1.2ms) SELECT 1 AS one FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 AND "mks_rate_chargeable_services"."id" = $2 LIMIT $3 [["service_bundle_id", 70], ["id", 45], ["LIMIT", 1]] Mks::Rate::ChargeableService Load (1.2ms) SELECT "mks_rate_chargeable_services".* FROM "mks_rate_chargeable_services" INNER JOIN "mks_rate_service_bundles_chargeable_services" ON "mks_rate_chargeable_services"."id" = "mks_rate_service_bundles_chargeable_services"."chargeable_service_id" WHERE "mks_rate_service_bundles_chargeable_services"."service_bundle_id" = $1 [["service_bundle_id", 70]]  (0.7ms) ROLLBACK